Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Macros assigned to Menu Items

In Excel 2003 I created a custom menu with each button on the menu labeled
BOOKKEEPING 2006, BOOKKEEPING 2007, etc. and having a macro assigned to each
one to open the appropriate file
In Excel 2007- Addins tab, the toolbar I created in ver 2003 appears, but I
can't modify the custom toolbar within. I even went back to Excel 2003,
created a macro to open the new file, and added a button to the menu, but it
doesn't update it in version 2007
How can I customize the custom toolbar in Excel 2007 to include my new macro
BOOKKEEPING 2009 for the upcoming year.

I am NOT a VBA programmer
Thanks
BV
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Macros assigned to Menu Items

Hi
Did you delete the old toolbar in 2007? It might be that you are still
seeing the old toolbar.
In the workbook_open sub I have code to remove "MyToolbar" first,
before I then add the same ToolBar. If "MyToolbar" is already there
and you don't delete it first, then a new version of the toolbar won't
be seen.

On Error Resume Next 'Incase it has already been deleted
Set cbWSMenuBar = CommandBars("Worksheet Menu Bar")
cbWSMenuBar.Controls("MyToolbar").Delete

regards
Paul

On Sep 17, 2:44*pm, Techtrainer
wrote:
In Excel 2003 I created a custom menu with each button on the menu labeled
BOOKKEEPING 2006, BOOKKEEPING 2007, etc. and having a macro assigned to each
one to open the appropriate file
In Excel 2007- Addins tab, the toolbar I created in ver 2003 appears, but I
can't modify the custom toolbar within. I even went back to Excel 2003,
created a macro to open the new file, and added a button to the menu, but it
doesn't update it in version 2007
How can I customize the custom toolbar in Excel 2007 to include my new macro
BOOKKEEPING 2009 for the upcoming year.

I am NOT a VBA programmer
Thanks
BV


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Macros assigned to Menu Items

BV,

Excel 2007 uses a different system of toolbars: the Ribbon. See Ron deBruin's site

http://www.rondebruin.nl:80/tips.htm

He has a whole section on ribbon usage.

HTH,
Bernie
MS Excel MVP


"Techtrainer" wrote in message
...
In Excel 2003 I created a custom menu with each button on the menu labeled
BOOKKEEPING 2006, BOOKKEEPING 2007, etc. and having a macro assigned to each
one to open the appropriate file
In Excel 2007- Addins tab, the toolbar I created in ver 2003 appears, but I
can't modify the custom toolbar within. I even went back to Excel 2003,
created a macro to open the new file, and added a button to the menu, but it
doesn't update it in version 2007
How can I customize the custom toolbar in Excel 2007 to include my new macro
BOOKKEEPING 2009 for the upcoming year.

I am NOT a VBA programmer
Thanks
BV



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
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros Brian Day Excel Programming 1 March 29th 07 11:20 PM
Command/Menu bar & assigned macros RITCHI Excel Programming 1 January 30th 07 12:01 AM
Macro assigned to Menu Dave Peterson Excel Programming 0 December 8th 06 08:39 PM
Assigned macros change location markvi Excel Discussion (Misc queries) 3 April 6th 06 06:48 PM


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