Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default How reassign toolbar button ??

Hi David,
Adding to Tom's comment:
Toolbars are stored in your .XLB file and applies to your use of
Excel not to a particular workbook or to a particular worksheet.
Best to place the macro in your personal.xls workbook and
assign the macro to run from there.

I have a page on toolbars if you're not too overwhelmed with
all your other problems:
http://www.mvps.org/dmcritchie/excel/toolbars.htm
since it looks like you are overwhelmed you probably definitely want
to be sure you are taking backups.
http://www.mvps.org/dmcritchie/excel/backup.htm

HTH, it
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Tom Ogilvy" wrote in message ...
You would bring up tools=customize, then right click on the button and
change the macro assigned to the button.

in code, you would reassign using the onaction property.

--
Regards,
Tom Ogilvy


"David" wrote in message
...
I have a toolbar button set to run a macro but somehow it
is running a macro in another workbook.
How do I reassign the button to run the macro from the
same workbook?
I looked in Help but it only says how to set up a button
not how to reassign it.





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
Toolbar button fda secretary Excel Discussion (Misc queries) 1 October 22nd 07 09:41 PM
code to reassign a macro to a toolbar button because of path change Almagg via OfficeKB.com Excel Discussion (Misc queries) 0 April 27th 07 06:42 PM
New button on toolbar attaboy Excel Worksheet Functions 5 January 23rd 07 04:17 PM
Sum Button Toolbar Rugdoody Excel Discussion (Misc queries) 3 May 20th 06 12:38 AM
How reassign toolbar button ?? keepitcool Excel Programming 2 August 12th 03 05:32 PM


All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"