LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Manually assigning Macros to Buttons w/o File Dependence

Same problem here. Been trying to figure this one out.
One suggestion is to build the toolbars dynamically when
the sheet opens by using the commandbars vbe function.

Im stumped as well. If i can find where the code is
stored for the custom toolbars I have made, I should be
able to cut and paste..

tim
-----Original Message-----
OK, another dumb one...I would like to assign a macro to

a toolbar button in
a way which points to a macro of that name in the current

workbook, without
having to write code to do this.

Right now, when I assign the macro manually, then save

the spreadsheet under
a different name, Excel adds the originating

spreadsheet's name to the macro
assignment in the toolbar button.

I'm looking for something like: Thisworkbook!macroname or

Me.macroname.
.

 
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
Assigning Macros to Toolbar buttons JMay Excel Discussion (Misc queries) 1 July 24th 07 07:22 PM
Assigning Macros to Buttons Christine Excel Discussion (Misc queries) 1 May 11th 06 09:42 PM
Assigning Macros to Buttons in Excel Ronnie Excel Worksheet Functions 2 July 20th 05 08:43 PM
assigning macros to buttons or autoshapes John of the new year Excel Worksheet Functions 1 June 10th 05 01:31 AM
assigning macros to several custom buttons Greg Wilson[_3_] Excel Programming 0 August 12th 03 11:52 PM


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