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

G

Gord Dibben

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
 
S

Sheeloo

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
 
R

Rebel

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
 
R

Rebel

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.....
 
J

Jacob Skaria

Maybe the security settings within Tools>Security is set to high..and so
macros are disabled..

If this post helps click Yes
 
R

Rebel

lol it occurred right before I read it that the macros were disabled!!
You all ROCK...thanks sooooo much!
 

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