+ Reply to Thread
Results 1 to 6 of 6

how to find last record entered??

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    Johannesburg
    MS-Off Ver
    2013
    Posts
    43

    how to find last record entered??

    Hello Chaps.

    I just want to check up on the records that have been entered by my clerk.

    Will the last lines in the excel worksheet be the last lines that were entered?

    How do i know if the worksheet is in the natural order ?

    regards

    fred

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: how to find last record entered??

    The normal procedure is to enter a new line after the last line, so the last line is the last one entered. However, without macros there is no way to enforce it. Excel does not have built-in transaction auditing--you cannot tell what data was entered when. So if your clerk decides to sort the data into a different order than how it was entered, you can't tell.

    What is "natural order"?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to find last record entered??

    You could enter a column with the numbers from 1 to say 10000 (fill series or manually and hide it). If the order changes, you know that a sort has taken place. If there is a gap in the numbering, a row has been added. If no gaps and the order is correct then the bottom record is the last record.

    Someone who knows VBA could, I'm sure, have a consecutive number assigned to each record as entered regardless of where it was entered - at the end or somewhere in the middle of the records.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    06-24-2015
    Location
    Johannesburg
    MS-Off Ver
    2013
    Posts
    43

    Re: how to find last record entered??

    thats given me an idea.
    Can i automatically have time and date entered ( maybe in a hidden cell ) at the time of
    data capture . then to sort on time and date will show up the last entries??

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to find last record entered??

    You will have to have the date and time entered by VBA or the date and time will be volatile and constantly change.

  6. #6
    Registered User
    Join Date
    06-24-2015
    Location
    Johannesburg
    MS-Off Ver
    2013
    Posts
    43

    Re: how to find last record entered??

    "Natural order" is used by dBase and in a .dbf file it is the order of the
    unsorted file. dBase by default will add any new entries to the end of the
    table - so provided the table is not sorted - then the end of the table contains
    all the last records entered
    regards

    fred

+ 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] Verify data has been entered before adding new record
    By randolphoralph in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2015, 01:52 PM
  2. [SOLVED] Return Last the record entered for a specific name.
    By JO505 in forum Excel General
    Replies: 10
    Last Post: 09-14-2014, 02:05 PM
  3. [SOLVED] Insert Row and Record in Another Sheet Once I entered date
    By atulexel79 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-22-2014, 10:04 AM
  4. Cell formula to record many values and date entered
    By Stryda in forum Excel General
    Replies: 11
    Last Post: 11-13-2011, 04:28 PM
  5. Ensure that a unique record is entered
    By Rocketman66 in forum Excel General
    Replies: 1
    Last Post: 07-15-2010, 05:47 AM

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