Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Customize Standard Toolbar


I have a wb with standard and custom menus. The custom menu gets loaded
on the wb open event from a menu table written on a sheet and deleted on
the wb close event. It makes available some commands related to macros.

I need to know if it's possible to use the same table to delete some
standard menus and to reload them on the wb close event.

Here attached the test.xls wb.

Thanks,
Emiliano


+-------------------------------------------------------------------+
|Filename: test.xls |
|Download: http://www.thecodecage.com/forumz/attachment.php?attachmentid=65|
+-------------------------------------------------------------------+

--
eggpap

Excel 2003 on Vista HP System - can use VBA
------------------------------------------------------------------------
eggpap's Profile: http://www.thecodecage.com/forumz/member.php?userid=90
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=51674

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Customize Standard Toolbar

I suppose you could amend the code to process another menu type, but it
would seem simpler to just hide those you don't want in the Workbook_Open
event, and re-instate them in the BeforeClose event.

--
__________________________________
HTH

Bob

"eggpap" wrote in message
...

I have a wb with standard and custom menus. The custom menu gets loaded
on the wb open event from a menu table written on a sheet and deleted on
the wb close event. It makes available some commands related to macros.

I need to know if it's possible to use the same table to delete some
standard menus and to reload them on the wb close event.

Here attached the test.xls wb.

Thanks,
Emiliano


+-------------------------------------------------------------------+
|Filename: test.xls |
|Download:
http://www.thecodecage.com/forumz/attachment.php?attachmentid=65|
+-------------------------------------------------------------------+

--
eggpap

Excel 2003 on Vista HP System - can use VBA
------------------------------------------------------------------------
eggpap's Profile: http://www.thecodecage.com/forumz/member.php?userid=90
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=51674



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Customize Standard Toolbar


I suppose you could amend the code to process another menu type, but it
would seem simpler to just hide those you don't want in the
Workbook_Open
event, and re-instate them in the BeforeClose event.



Thanks,

do you mean a list of statements like this?

Application.ControlBars("Files").Controls("&New... ").visible=false/true
?

Emiliano


--
eggpap

Excel 2003 on Vista HP System - can use VBA
------------------------------------------------------------------------
eggpap's Profile: http://www.thecodecage.com/forumz/member.php?userid=90
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=51674

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Customize Standard Toolbar

Yes, like that, but I thought you wanted the whole commandbar, so you can do
it at that level.

--
__________________________________
HTH

Bob

"eggpap" wrote in message
...

I suppose you could amend the code to process another menu type, but it
would seem simpler to just hide those you don't want in the
Workbook_Open
event, and re-instate them in the BeforeClose event.



Thanks,

do you mean a list of statements like this?

Application.ControlBars("Files").Controls("&New... ").visible=false/true
?

Emiliano


--
eggpap

Excel 2003 on Vista HP System - can use VBA
------------------------------------------------------------------------
eggpap's Profile: http://www.thecodecage.com/forumz/member.php?userid=90
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=51674



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Customize Standard Toolbar


No, I need to keep some controls of certain CommandBars.

Thanks, Emiliano


--
eggpap

Excel 2003 on Vista HP System - can use VBA
------------------------------------------------------------------------
eggpap's Profile: http://www.thecodecage.com/forumz/member.php?userid=90
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=51674



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
Cannot Customize Excel Toolbar Sue T. Excel Discussion (Misc queries) 12 March 3rd 08 04:18 PM
Customize Toolbar Andy Excel Discussion (Misc queries) 1 March 8th 07 05:12 PM
Customize Toolbar DeLyn Excel Discussion (Misc queries) 1 January 30th 06 11:53 PM
customize toolbar won't save goplayoutside Excel Discussion (Misc queries) 1 October 11th 05 03:42 PM
How to permanently customize a toolbar?? Sam Excel Discussion (Misc queries) 1 June 6th 05 12:34 PM


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