View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
DM - NPS DM - NPS is offline
external usenet poster
 
Posts: 1
Default Run Macro On Exit

I have 6 worksheets in an Excel Workbook. When on click on the "X" to close
the workbook I want a macro to automatically run that hides 3 of the 6
worksheets. Any ideas on how to do this?

thanks