+ Reply to Thread
Results 1 to 6 of 6

Last used row

  1. #1
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Last used row

    Dear sir,with best regards,i need your help by a code that will take me to the last used row from my worksheet , row D which contains the no. of invoice.
    Many thanks in advance.
    Last edited by tofimoon4; 12-10-2011 at 05:46 AM.

  2. #2
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Re: Last used row

    Dear sir, with my apology i mean (my worksheet ,column D ).

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Last used row

    Hi tofimoon4,

    If you have the data filled in column D and you want to know the last used row which has the data, use below code

    Please Login or Register  to view this content.
    Regards,
    DILIPandey

    < click on below 'Star' if this helps >
    Last edited by dilipandey; 12-10-2011 at 05:34 AM. Reason: coding structure applied
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Last used row

    Sub dfd()
    Hi tofimoon4,

    To get to the last cell in column D which was used previously but now is blank, you can use below code :-

    Please Login or Register  to view this content.
    Complete macro code for both the cases, including the one which I had mentioned in my previous email, is given below:-

    Please Login or Register  to view this content.
    Regards,
    DILIPandey

    < click on the below 'Star' if this helps >

  5. #5
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Re: Last used row

    Dear sirs,many thanks for help.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Last used row

    You are welcome tofimoon4.

    Cheers


    Regards,
    DILIPandey

    < click on below 'Star' if this helps >

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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