How to move custom VBA/ribbons

missingsc

New Member
Joined
Mar 14, 2024
Messages
25
Office Version
  1. 365
Platform
  1. Windows
  2. Web
I posted a similar thread some time ago and unfortunately didn't understand the answer given at the time. Hoping to start a fresh discussion on how to do this...

I have a custom spreadsheet I've built containing VBA subs/functions and forms. To interact with that functionality, I've also modified the Ribbon for new buttons to run those functions as needed. I want to be able to reuse this spreadsheet and give it to others. The problem I've run into is multi-fold:
  • The customized Ribbon isn't sent with the spreadsheet by default. I need to export the customizations and ask the user to load them. Can that be somehow done automatically?
  • The custom VBA and forms are not sent with the spreadsheet. The only way I've found to send them is with an Add-In, which the user then has to load manually.
  • When the Ribbon customizations are loaded, the buttons do not work. They error out saying the sub/function cannot be found because a file path/url cannot be found. I have to delete the button, then recreate it and link it to the sub/function/macro by hand.
Obviously the question is how can this be done so the user doesn't have to do anything? They just get the spreadsheet and it's ready to go? Failing that, how close can we get to making it automatic for them? At worst, I'd like to be able to send them the Add-In and Ribbon Customization file with instructions on how to load it, but as said that doesn't work either.

Looking forward to all the answers you have as I'm stuck being able to share this with anyone. Thank you in advance!
 
So your solution was to use the QAT or customize/build your own ribbon?
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
So your solution was to use the QAT or customize/build your own ribbon?
I went with the customized Ribbon. I had been using it on my machine for quite some time now so I didn't want to lose that functionality. Really glad it worked, and again thank you so much for helping me with the solution!
 
Upvote 0

Forum statistics

Threads
1,224,875
Messages
6,181,514
Members
453,050
Latest member
Obil

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