#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Toolbar

Hi Gino

Use the following events in the Thisworkbook module


Private Sub Workbook_Activate()

End Sub


Private Sub Workbook_Deactivate()

End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Gino" wrote in message ...
I have created a toolbar programatically, the only problem is that the toolbar remains present even if I switch workbooks, and (as

expected) causes errors when someone clicks any button on it. How can I have the toolbar deleted when the workbook changes. I have
no problem deleting the toolbar when the worksheet changes its the whole workbook changing thats got me a bit puzzled.

Anyone know how to do this?

Much appreeciated.



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
excel toolbar like word toolbar, please Meng[_2_] Excel Discussion (Misc queries) 1 May 23rd 09 04:28 PM
Form Toolbar verses Control Toolbar ub Excel Discussion (Misc queries) 3 July 11th 08 10:57 PM
Save Toolbar into new toolbar [email protected] Excel Discussion (Misc queries) 2 March 4th 08 11:16 AM
Adjusting toolbar size, restore toolbar Josh M Excel Discussion (Misc queries) 1 January 18th 06 06:17 PM
saving toolbar buttons on custom toolbar Paul James Excel Programming 12 August 6th 03 08:28 AM


All times are GMT +1. The time now is 10:38 PM.

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

About Us

"It's about Microsoft Excel"