Help with code please !!!

  • Thread starter Thread starter Ayo
  • Start date Start date
A

Ayo

How do I write a code to make a specific cell the top left cell in the
worksheet?
 
Sub myscroll()
ActiveWindow.ScrollRow = 10
ActiveWindow.ScrollColumn = 22


End Sub
 
Here is a small modification to my last posting

Sub myscroll()
ActiveWindow.ScrollRow = Range("D5").row
ActiveWindow.ScrollColumn = Range("D5").column


End Sub
 
Thanks a lot Joel. I really appreciate it.

Joel said:
Here is a small modification to my last posting

Sub myscroll()
ActiveWindow.ScrollRow = Range("D5").row
ActiveWindow.ScrollColumn = Range("D5").column


End Sub
 

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

Back
Top