Position A2 at top-left of window

G

Guest

What is the code to write in order to scroll so that cell A2 will appear at
the top-left corner of the window?
 
B

Bob Phillips

With ActiveWindow
.ScrollRow = 2
.ScrollColumn = 1
End With

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
C

Chip Pearson

Try

Application.Goto reference:=Range("A2"), scroll:=True



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email on the web site)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top