PC Review


Reply
Thread Tools Rate Thread

Custom tooll bars in excel 2007

 
 
hughg
Guest
Posts: n/a
 
      27th Nov 2007
I have made custom tool bars with menus and macros attached in excel
2003
Having upgraded to Excel 2007, I can see the custom tool bars in the
addins tab but when I try to use them the path isn't recognised.

When I right click on a menu there's no option to assign a macro, just
an option to customise to the quick access toolbar. This doesn't give
the capability to attach macros to customised tool bars.

Please can somebody suggest a workround?

Many thanks for looking

HVG
 
Reply With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      27th Nov 2007
Cute that MS took away the UI for assigning macros to custom toolbuttons and
menu items now appearing on the Add-ins tab. The old toolbars are still
there though so you can find their controls and change their OnActions with
code. For example:

CommandBars("MyToolbar").Controls(5).OnAction = "Personal.xls!MyMacro"

When you run code like this and exit Excel the changes seem to be saved in
your Excel12.xlb so they should be retained.

I just thought of another way that may be easier. If you can move the
add-ins/Personal, etc. back to the path where they used to be (maybe you
have to temporarily recreate the paths), when you start Excel 2007 the
toolbuttons/ menu items should find their macros and run them. If so, you
could then do a Save As of the add-ins, etc. and Excel should adjust to the
new path. With add-ins you could either make them non-addins using the
IsAddin property for this exercise or save them through code.

--
Jim
"hughg" <(E-Mail Removed)> wrote in message
news:9a35fe65-8ef5-4c4a-93d3-(E-Mail Removed)...
|I have made custom tool bars with menus and macros attached in excel
| 2003
| Having upgraded to Excel 2007, I can see the custom tool bars in the
| addins tab but when I try to use them the path isn't recognised.
|
| When I right click on a menu there's no option to assign a macro, just
| an option to customise to the quick access toolbar. This doesn't give
| the capability to attach macros to customised tool bars.
|
| Please can somebody suggest a workround?
|
| Many thanks for looking
|
| HVG


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Error Bars in Excel 2007 =?Utf-8?B?cm9va2llNjUyMQ==?= Microsoft Excel Charting 2 15th Sep 2009 04:37 PM
Excel 2007 - Custom error bars ?? mc.linux Microsoft Excel Charting 5 6th Sep 2008 10:36 PM
cUSTOM error Bars in Excel 2007 =?Utf-8?B?Uk0yMDA3?= Microsoft Excel Misc 0 20th Jun 2007 09:17 AM
Excel 2007 Custom Error Bars =?Utf-8?B?QnV6emluSG9ybmV0?= Microsoft Excel Misc 4 14th Jun 2006 10:47 PM
Custom error bars excel 2007 =?Utf-8?B?QnV6emluSG9ybmV0?= Microsoft Excel Charting 2 30th May 2006 02:21 AM


Features
 

Advertising
 

Newsgroups
 


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