Add Macro Icon to quick access vai vba

gint3232

New Member
Joined
Jan 12, 2015
Messages
16
Hi Everyone,

Is there a way of adding an icon to run a macro, using vba onto the quick access toolbar,

I know you can manually do it, but I wish to add it via VBA if that's possible, I can't find any discussions with any solutions as yet!

Thanks for reading :)
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
No, not easily. The QAT is really for the user, not developers, who should use the Ribbon.
 
Upvote 0
No, not easily. The QAT is really for the user, not developers, who should use the Ribbon.

If it can be done, I'd really like to know how as It needs to be done in this particular situation..as some user struggle with installing manually.
 
Upvote 0
Why can’t you use the Ribbon?

To use the QAT you will have to locate the user’s Excel.Officeui file, parse the XML in it, figure out where you intend to put the button, add the relevant XML, save the file, then restart Excel.
 
Last edited:
Upvote 0
Why can’t you use the Ribbon?

To use the QAT you will have to locate the user’s Excelui file, parse the XML in it, figure out where you intend to put the button, add the relevant XML, save the file, then restart Excel.



Thanks, any ideas on how to achieve this in the Ribbon then??
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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