formatting the view of a worksheet

  • Thread starter Thread starter Pat
  • Start date Start date
P

Pat

I have a button on a worksheet that selcts a cell on
another sheet.

I want to display the cell so that it is in the upper left
corner of the window, but I can't find any method to do
this. Any help appreciated.

Code so far (works fine):

Private Sub SectionAHelpButton_click()
Sheets("Instructions").Select
Sheets("Instructions").Range("SectionAHelp").Select
End Sub

but SectionAHelp might appear at the bottom of the page,
and I want it to appear at the top left.
 
Private Sub SectionAHelpButton_click()
Application.Goto _
Reference:=Sheets("Instructions").Range("SectionAHelp"), _
Scroll:=True
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