Ms Excel coursework

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

Guest

how can I get MS Excel to open and display a certain worksheet as default
rather than automatically opening on the last worksheet the user saved the
workbook
 
Private Sub Workbook_Open()
worksheets("Sheet1").activate
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code

and read up on evenst at http://www.cpearson.com/excel/events.htm

--
HTH

Bob Phillips

(remove nothere from 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