Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Show / Hide CustomToolbar

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Show / Hide CustomToolbar

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 a

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.



Graham wrote:

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


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show zero value but hide NA KateB Charts and Charting in Excel 4 June 3rd 10 03:25 AM
Show/Hide Inez Excel Discussion (Misc queries) 1 July 8th 09 03:29 PM
show hide row if Wanna Learn Excel Discussion (Misc queries) 2 May 15th 09 06:08 PM
Hide Formula and Show Value Truantjlj50 Excel Discussion (Misc queries) 0 November 29th 06 05:21 PM
Hide and show Cl Excel Programming 1 January 3rd 04 03:45 PM


All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"