On open workbook go to a specific worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

On opening a workbook I would like it go to a specific worksheet e.g. index
page. Is there a macro that will perform this function please? Thank you for
your assistance.

Andy Josolyne
 
Sub Auto_open()
Sheets("Index").Activate
Cells(1, 1).Select
End Sub

HTH. Best wishes Harald
 
Harald

Many thanks for your fast response. Where do I store the macro - in a new
one, or in the code stores in the Excel icon?
 
Hi

In the workbook itself. Open it, then open the VB editor (Alt F11 or
similar). Insert > Module, paste it in, save.

HTH. best wishes Harald
 
Store it in a standard code module.

Go into the VBE (Alt-F11), and from the men, Insert>Module.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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