I have a big spreadsheet with several userforms. I used to show the userforms with control buttons in the spreadsheet. I thought that it would be better to have, instead, a custom toolbar to do the same thing, as it could be attached anywhere outside the spreadsheet. No problem with that. I built the toolbar and assigned each command a macro that performs userform.show.
the problem is that I generally update the spreadsheet and save it with another name. When I open the file with the new name, the macros in the toolbar are still referenced to the file with the old name.
How can I avoid that?. I want the toolbar to be available only with my custom spreadsheet and not show up when I open other files. And if I share this file in a network, I want the toolbar to show up In any PC when the file is opened.
Thank you