![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: sandy
Posts: 17
|
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 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Hi,
Use .Offset(0,2) at the end of your statement where you select (or identify) the cell you "FIND" HTH, Jay |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Midlands, UK
Posts: 217
|
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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|