Sharing Macros/Ribbons Across Users

JFuller

New Member
Joined
May 11, 2022
Messages
13
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Good Morning -

There are alot of different ways to share macros to other users. I am trying one technique out and running into issues.

I have an excel file with macros built into it. I want to add a custom ribbon with buttons that trigger the macros. when I change the filename of the workbook, or if I want to run those macros in a different workbook, I get errors. So I've tried saving my macros into my PERSONAL.xlsb file and sharing that to other users. I've also used the export customization to export my custom ribbon. when I go to a users computer and upload the new PERSONAL.xlsb file and import the new customization, when I click the button it asks me to verify the security of the macro (giving me an enable and disable button). When I click enable, I get the error "excel cannot have two workbooks open with the same name." I can manually run the macros from the new PERSONAL.xlsb file by using the developer tab, and I can add new buttons, linking them to the PERSONAL.xlsb file and run them just fine, but the original buttons I put on the custom ribbon do not work. How can I fix this, or is there a better way to give macros and ribbons to all of my users?

Thank you!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

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