I need a macro that will run add-in that is on the tool bar

SSjmg2477

Board Regular
Joined
Jul 20, 2005
Messages
56
Another program that I use has added an shortcut to the Tools menu that starts that add-in. Is there a way within a macro to simulate that menu item being clicked so that my code automatically starts that add-in?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Datsmart

Well-known Member
Joined
Jun 19, 2003
Messages
7,985
No need to "simulate that menu item being clicked".
Just include the code the shortcut uses in your code.
Without seeing any of your code, it is hard to direct you anymore than that.
 

SSjmg2477

Board Regular
Joined
Jul 20, 2005
Messages
56
What I am stuggling with is how to determine what that short cut is so that I can add it to my code.
 

Datsmart

Well-known Member
Joined
Jun 19, 2003
Messages
7,985
Right mouse over a toolbar and select customize, select the Commands tab, in categories select Macros, right click your shortcut icon, click "Assign Macro...", choose Edit.
You should now be able to see the code the shortcut uses.
 

Forum statistics

Threads
1,141,096
Messages
5,704,312
Members
421,338
Latest member
Pepess

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
Top