Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("D2000").Select
or Application.Goto Range("D2000"), True will scroll D2000 to the upper left of the window (the True part) Application.GoTo handles book/sheet activation automatically, where as the selection does not. When using Select, you must first select the workbook (if it's not active), then the worksheet, then the range, e.g. Workbooks("Book2").Activate Worksheets("Sheet1").Select Range("D2000").Select whereas GoTo can do it in one line of code: Application.Goto Workbooks("Book2").Worksheets("Sheet1").Range("D20 00"), True -- Tim Zych www.higherdata.com Compare data in worksheets and find differences with Workbook Compare A free, powerful, flexible Excel utility "Christian Blackburn" wrote in message ... Hi Gang, I would like to programmatically advance to a specific cell. Can someone reply with an example? Thanks, Christian Blackburn |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable cell focus | Excel Discussion (Misc queries) | |||
Set Focus on Cell D8 | Excel Programming | |||
Set focus to cell? | Excel Programming | |||
Cell Lost Focus | Excel Programming | |||
Highlight Cell on Focus | Excel Programming |