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