+ Reply to Thread
Results 1 to 2 of 2

sytax to select next row

  1. #1
    Registered User
    Join Date
    12-26-2006
    Posts
    18

    sytax to select next row

    what is the sytax to select the next row.
    here is what i have:
    Please Login or Register  to view this content.

    Any help will be very appreciated. thanks.
    Last edited by VBA Noob; 10-27-2007 at 03:17 AM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    artromanov

    Please read forum rules & wrap your VBA code

    A thread with the rules is available at the top of each forum or see links below

    If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
    http://www.excelforum.com/showthread.php?t=583950

    Try replacing your macro with this single line command

    Please Login or Register  to view this content.
    What the above code does is :-
    Cells command uses Cells(Row number, Column number or letter)

    Please Login or Register  to view this content.
    From b7 look down column B for the last entry brfore a blank cell. Get the row number & add 1 to it.
    The row number is then used in the Cells command
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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