Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: moving cursor to the right

  1. #1
    New Member
    Join Date
    Feb 2002
    Location
    sandy
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thank you for your time
    i am using a macro to find a name in a cell (CTRL + F)once found i need to move the cursor to the right by 2 cells (this means the cursor could be in any row )so a range address i.e C25 is no good

  2. #2
    MrExcel MVP Jay Petrulis's Avatar
    Join Date
    Mar 2002
    Location
    Chicago, IL USA
    Posts
    2,040
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi,

    Use .Offset(0,2) at the end of your statement where you select (or identify) the cell you "FIND"

    HTH,
    Jay

  3. #3
    Board Regular
    Join Date
    Apr 2002
    Location
    Midlands, UK
    Posts
    217
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    IF you want to move from the active cell try :

    ActiveCell.Offset(0,2)

    this will move you down 0 rows & accross to the right 2 columns.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •