Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How to automaticaly hide all toolbars in in workbook when another workbooks are open?

Hi. I'm a newbee. I've created a macro which automatically starts windows
timer on Workbook_Open. But users still have an option to start timer from
tools menu and when they do that Excel just stops responding. And there are
a few reasons to hide all the toolbars in this particular workbook. But at
the same time if user has any other workbooks open he'd have all tools and
menus available for those workbooks. Is there any way to do that with VBA?
Any help on this is much appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to automaticaly hide all toolbars in in workbook when another workbooks are open?

On the chosen workbook, hide the toolbars on the workbook open and activate
events. Restore them on deactivate.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Igor Sudnik" wrote in message
...
Hi. I'm a newbee. I've created a macro which automatically starts windows
timer on Workbook_Open. But users still have an option to start timer from
tools menu and when they do that Excel just stops responding. And there

are
a few reasons to hide all the toolbars in this particular workbook. But at
the same time if user has any other workbooks open he'd have all tools and
menus available for those workbooks. Is there any way to do that with VBA?
Any help on this is much appreciated.




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
Hide toolbars/Workbook elements Jason W Excel Discussion (Misc queries) 2 December 23rd 08 03:44 PM
Macro To consolidate All Open Workbooks Into One Workbook carl Excel Worksheet Functions 3 March 31st 07 04:22 AM
Open and Hide a workbook MBum Excel Discussion (Misc queries) 1 July 11th 06 06:47 PM
Copy worksheet from Active workbook into all other open workbooks TroyB[_2_] Excel Programming 0 February 10th 04 10:29 AM
copy sheet1 from all open workbooks to one workbook Mike[_61_] Excel Programming 2 October 31st 03 02:16 PM


All times are GMT +1. The time now is 10:12 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"