Running macro on file open

E

excelnerd

When I open a particular excel file, I want to always have the cursor on a
specific worksheet. That is, I want the file to open in a particular
worksheet. How can I do that?

Many thanks in advance.
 
B

Billy Liddel

Private sub workbook_open()
application.goto sheets("Sheet1").range("a1")
exit sub

placed in the workbook module, Right-click the Excel icon by the file menu
and choose View code.

Peter
 
Top