can you make excel open at the top instead of the bottom

  • Thread starter Thread starter Rebel
  • Start date Start date
Worksheet view in active window will be whereever it was when you last saved
the workbook.

You could add VBA Event code to show a particular view when that sheet is
activated or when the workbook is opened.

Example of sheet activation event code.

Private Sub Worksheet_Activate()
Application.Goto Range("A1"), Scroll:=True
End Sub

Right-click on the sheet tab and "View Code".

Copy/paste the code into that module.

Alt + q to return to Excel window.


Gord Dibben MS Excel MVP
 
It opens at the position it was last saved.

If you want it to go to A1 everytime you open the worksheet...
Right-click on the sheetname at the bottom, choose View Code and paste the
following;
Private Sub Worksheet_Activate()
Range("A1").Activate
End Sub

Close the editor
 
Neither code is working....

Sheeloo said:
It opens at the position it was last saved.

If you want it to go to A1 everytime you open the worksheet...
Right-click on the sheetname at the bottom, choose View Code and paste the
following;
Private Sub Worksheet_Activate()
Range("A1").Activate
End Sub

Close the editor
 
No......I dont know....well I can just tell my client to save it at the
top....so it will re-open there for her.....
 
Maybe the security settings within Tools>Security is set to high..and so
macros are disabled..

If this post helps click Yes
 
lol it occurred right before I read it that the macros were disabled!!
You all ROCK...thanks sooooo much!
 
Back
Top