>Can someone tell me the correct command to move the cursor to the right or left, or up or down in excel? Suppose we have an Excel object and we have cell B2 selected. Then we want to move the cursor 2 cells to the right (relative not absolute). Try as I might I can't seem to find this command in the macro syntax. All my efforts produce an absolute cell reference, not a relative one.
>
>Thanks for any help.
Use the Offset(n,n) property where the first parameter equals the rows and the second equals the columns.
Regards,
Jim