How to action on Open Sheet

  • Thread starter Thread starter Jan Nademlejnsky
  • Start date Start date
J

Jan Nademlejnsky

I would like to know how to do certain action when particular sheet opens.
Let say I have 5 sheets in one spreadsheet and I want to sort only one sheet
name "Test" on open.

Thanks for your help

Jan
 
Hi Jan

do you mean when the workbook first opens - place your code in the
Workbook_Open
event (in the "ThisWorkbook" module)
if you mean when a sheet is activated - use the
Worksheet_Activate
event (in the module of the sheet that you want the event to apply to)

Hope this helps
Cheers
JulieD
 

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