+ Reply to Thread
Results 1 to 6 of 6

VB Code for next blank row

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code for next blank row

    Hello:

    I have data in cell A121 down.
    I need to know the row # for next blank cell in column A going down from cell A121

    Please let me know if you have any questions.
    Thanks.

    Riz

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: VB Code for next blank row

    Hi rizmomin,

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,953

    Re: VB Code for next blank row

    With no gaps ...

    Please Login or Register  to view this content.

    Or, if there might be gaps ...

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB Code for next blank row

    Hello: TMS and Trebor:

    Thanks a lot, works for me
    Riz

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,953

    Re: VB Code for next blank row

    You're welcome. Thanks for the rep.

  6. #6
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: VB Code for next blank row

    You're welcome. Thanks for the rep.
    Same here

+ 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. Code for VBA VLookup result blank if column index number is blank
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-06-2014, 05:55 PM
  2. [SOLVED] VBA code to insert 1 or 2 rows, 2 if next cell not blank,1 if next cell blank but 2nd not
    By lee.pulford in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2012, 04:06 PM
  3. code Find/define last blank row /code
    By jkirkham in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-16-2010, 11:17 AM
  4. Code to run if cell not blank
    By khalid79m in forum Excel General
    Replies: 1
    Last Post: 04-10-2007, 07:19 AM
  5. [SOLVED] Macro code to test for blank row and insert blank row if false
    By Mattie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2006, 08:25 PM

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