View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default How to hide toolbar automatically when I switch to other worksheet

Use the Worksheet_Activate and Worksheet_Deactivate events.

NickHK

"Wei" wrote in message
...
I have five worksheets in one workbook. I try to make a bar just for the

one
worksheet (name is class) and is only visible when the "class" worksheet

is
active. Please help me!