Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default hiding toolbars for my workbook only

I know how to hide toolbars and restore them. If there a way to restore the
toobars when the user opens another workbook and hide them again when
returning to mine?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default hiding toolbars for my workbook only

Hi JNW

http://www.rondebruin.com/menuid.htm

Use this two events in the Thisworkbook module.

Read more about events on Chip Pearson's site.
http://www.cpearson.com/excel/events.htm

Private Sub Workbook_Activate()
'your code to change Enabled to False
'Or the name of your macro
End Sub

Private Sub Workbook_Deactivate()
'your code to change Enabled to True
'Or the name of your macro
End Sub


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


"JNW" wrote in message ...
I know how to hide toolbars and restore them. If there a way to restore the
toobars when the user opens another workbook and hide them again when
returning to mine?



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
Hiding all toolbars Iain Excel Discussion (Misc queries) 3 April 21st 05 02:56 PM
hiding toolbars skewey[_2_] Excel Programming 0 July 6th 04 10:05 AM
Hiding all Toolbars Jonathan[_10_] Excel Programming 4 May 24th 04 10:39 AM
COM Error Hiding/Showing Excel Toolbars PeteSmith Excel Programming 0 May 11th 04 07:16 AM
Hiding Toolbars Question Full Monty[_11_] Excel Programming 3 February 10th 04 11:19 PM


All times are GMT +1. The time now is 02:24 AM.

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"