Custom toolbar confusion

cycle_simon

Board Regular
Joined
Jun 13, 2007
Messages
56
This is probably trivial, but I'm new to Excel developoment and haven't been able to track down a solution in any documentation.

I have setup a custom toolbar in an application I have been working on and attached it to the workbook.

I have created and saved a number of versions of the workbook over time as I have added/debugged features. However, the assigned macros to the toolbar buttons keeps reverting back to a file name reference of an older version of the workbook. I.E.:

When I go to the button properties and open the assign macro dialogue box it will have:

c:/ ..../old version.xls!macro_name

instead of

c:/ ..../new version.xls!macro_name

I have deleted the toolbar from Excel11.xlb, but can't figure out where/how it is still finding these old references.

Any suggestions??
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Toolbars and buttons do that in Excel, I think it's a bug.
The workaround is not to Save As when you want to copy the file. Instead, get out of Excel, use Windows Explorer to duplicate the file, then open it and make your data changes. The toolbars / buttons will reference the new file instead of the old.

Denis
 
Upvote 0

Forum statistics

Threads
1,225,355
Messages
6,184,463
Members
453,235
Latest member
dirtisbrown17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top