FleetwoodMacro
New Member
- Joined
- Jan 8, 2016
- Messages
- 2
I have created a custom ribbon in a workbook in Excel 2013. Each of the buttons on the ribbon calls a different macro, which generally displays some form for data entry that can call other macros, etc. I want this ribbon and the macros to be accessible to other users of this workbook who have saved it on their machine or a different drive.
I am having a lot of confusion with dealing with the "exportedUI". I understand that I can export the custom ribbon settings as an XML file. Testing from my own machine, if I copy the workbook to my desktop and then import the custom UI file, the ribbon appears but the macros will not run (I get the "Cannot run the macro "[path of the original file]![macro name]. The macro may not be available in this workbook or all macros may be disabled." error). Looking at the custom UI XML and from seeing that error message, the custom UI file is obviously still pointing to the original workbook and not my copy of the workbook.
Thus, I have 2 questions:
Any insight would be appreciated! I have been searching through various threads for the past few hours and haven't quite found what I'm looking for. Thanks in advance.
I am having a lot of confusion with dealing with the "exportedUI". I understand that I can export the custom ribbon settings as an XML file. Testing from my own machine, if I copy the workbook to my desktop and then import the custom UI file, the ribbon appears but the macros will not run (I get the "Cannot run the macro "[path of the original file]![macro name]. The macro may not be available in this workbook or all macros may be disabled." error). Looking at the custom UI XML and from seeing that error message, the custom UI file is obviously still pointing to the original workbook and not my copy of the workbook.
Thus, I have 2 questions:
- How can I modify this custom UI to point to THIS workbook which is opening it?
- How can I modify the workbook settings such that another user automatically sees this ribbon upon opening the workbook and does not have to import it himself/herself?
Any insight would be appreciated! I have been searching through various threads for the past few hours and haven't quite found what I'm looking for. Thanks in advance.