+ Reply to Thread
Results 1 to 6 of 6

Find last row

  1. #1
    Registered User
    Join Date
    04-03-2010
    Location
    Orlando, FL
    MS-Off Ver
    Office 365
    Posts
    94

    Find last row

    I need to find the last row of data, where the last data entry may be in different columns. I had been using this code, thinking that column B would contain the last data entry. This isn't always the case.
    Please Login or Register  to view this content.
    I tried modifying the LastRowCopy line to say:
    Please Login or Register  to view this content.
    but I get an error, Run-Time Error '1004, Application-defined or object defined error.
    ...anyone? Thanks in advance.
    Last edited by wpryan; 05-05-2010 at 11:57 AM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Find last row

    You can use Find:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Find last row

    Try with:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Find last row

    Try

    Please Login or Register  to view this content.

    If there is no data outside Columns A:F
    Last edited by Marcol; 05-05-2010 at 11:45 AM. Reason: Clarification

  5. #5
    Registered User
    Join Date
    04-03-2010
    Location
    Orlando, FL
    MS-Off Ver
    Office 365
    Posts
    94

    Re: Find last row

    That's fantastic, thanks Antonio.

  6. #6
    Registered User
    Join Date
    04-22-2009
    Location
    Boston
    MS-Off Ver
    Excel 2013
    Posts
    68

    Re: Find last row

    Last Row of a given sheet and column no....

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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