Show / Hide CustomToolbar

  • Thread starter Thread starter Graham
  • Start date Start date
G

Graham

Hi,

I have created a custom toolbar which I only want to be
visible when a certain sheet within my workbook is active.
Is there some coding that I can use to show or hide the
toolbar depending on which sheet within the workbook has
been selected?

Help gratefully received

Thanks
Graham
 
There's a worksheet_activate and worksheet_deactivate that you could use.

(along with the versions for workbook (swapping between workbooks means
hiding/unhiding the toolbar????))

And if you want to learn more about what events are:

Chip Pearson has some notes about events at:
http://www.cpearson.com/excel/events.htm

David McRitchie also has notes at:
http://www.mvps.org/dmcritchie/excel/event.htm

Chip has a note near the bottom of his page where you can download EventSeq.xls
to see what runs when.
 

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