+ Reply to Thread
Results 1 to 1 of 1

Showing most recent submissions to database in different sheet based on date/time

  1. #1
    Registered User
    Join Date
    05-31-2023
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    11

    Showing most recent submissions to database in different sheet based on date/time

    Hi All,

    I am working on a Userform that that stores data in sheet called 'Database' with the option to edit that row of data later on while keeping that data in the same row. When data is submitted (or edited first and then submitted) the code adds the current date and time in column P. Now i want to add a sheet that shows me the 10 most recently submitted (or edited and submitted) rows (just the values, because there is also calculating columns in the 'Database' sheet). however, no matter what i try, it messes with the functionality of storing and editing the data and it does not show the 10 latest entries based on the submit date/time in column P. Help would be appreciated

    EDIT:

    i thought it would be easier to insert a new module and add a button to the new sheet called 'RecentEntries' where it loops through column P to select the 10 most recent dates but for some reason it does not work. Here is the vba code for the button:

    Second edit:

    SOLVED it myself, working code is below.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Excelhelp_0912; 08-30-2023 at 10:26 AM. Reason: I made some headway

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need formula to return most recent balance with most recent date with 1 criteria
    By thematrix05 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2023, 04:50 PM
  2. [SOLVED] Most recent date based on match
    By Christopherdj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-01-2022, 12:19 AM
  3. [SOLVED] Lookup Based on Most Recent Date
    By andrewc in forum Excel General
    Replies: 2
    Last Post: 09-05-2019, 03:48 PM
  4. Replies: 5
    Last Post: 05-09-2018, 12:30 PM
  5. please let me know can i Update only selected columns
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2014, 02:27 AM
  6. Returning Data with the most recent date and time
    By Asteer in forum Excel General
    Replies: 1
    Last Post: 05-04-2014, 05:15 PM
  7. Find a value in a database for the most recent date, return all values relating to it.
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-22-2012, 01:39 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1