Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to assign macros to custom buttons with another macro 2

Status
Not open for further replies.

Jean01

Technical User
May 6, 2001
15
US
Hello,
I have a spreadsheet that serves the purpose of a schedule. With this, I have created a custom toolbar that contains buttons used to run macros that will modify the format of the cells (a.k.a. days) and apply different shadings to the selected cell. This toolbar was distributed with an *.XLB file that was openned at one point.
Comes the period of the year where a new version of the schedule is released to everyone and they all have to manually reassign the new macros to the toolbar.

Is there a way to programatically re-assign macros from the new workbook to the buttons already in place?

Any help appreciated
 
Jean, can't help you specifically. However, here are my favorite Excel reference sites--bookmark 'em. We have some really terrific programmers right here too!

dreamboat@nni.com
Brainbench MVP for Microsoft Word
 
I thought I had seen something like you needed in one of them, Jean, but didn't have the time earlier today to find the exact one. For some reason, I thought you said you were new-ish to Excel VBA. For both of these reasons, I posted the links. I constantly refer to them to steal code. I hope to (sometime in the near future) have a similar Word site. Already "bought" the domain name TheWordExpert.com dreamboat@nni.com
Brainbench MVP for Microsoft Word
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top