Nelviticus
Programmer
Hello,
I've created a spreadsheet with some forms, a few modules and its own toolbar and I've attached the toolbar to the spreadsheet.
However, if I save it as an add-in then whenever I click the toolbar button it opens up my original spreadsheet and tries to run the code in that.
I created a little function to view the OnAction property of the toolbar button and it shows the full UNC path to my spreadsheet. I've tried setting it with code to just the function name but it doesn't change.
Any idea how I attach a toolbar to an add-in so that the buttons reference the code in the add-in? It's doing my head in!
Thanks
Nelviticus
I've created a spreadsheet with some forms, a few modules and its own toolbar and I've attached the toolbar to the spreadsheet.
However, if I save it as an add-in then whenever I click the toolbar button it opens up my original spreadsheet and tries to run the code in that.
I created a little function to view the OnAction property of the toolbar button and it shows the full UNC path to my spreadsheet. I've tried setting it with code to just the function name but it doesn't change.
Any idea how I attach a toolbar to an add-in so that the buttons reference the code in the add-in? It's doing my head in!
Thanks
Nelviticus