Cannot run a Macro from Quick Access toolbar or Ribbon

cliffclayman

New Member
Joined
Sep 20, 2016
Messages
3
I am using Excel 2010. I have created a macro in my PERSONAL.xlsb file that I am able to run if I go to Developer - Macros - Choose the macro name - Click run. However, if I add the macro to the quick access toolbar or the ribbon, nothing happens. I don't receive any error messages, the button just doesn't do anything. I don't have any restrictions on running macros through the security as I selected Enable all macros just to be sure.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi Cliff,

A good first step would be to determine whether the macro is being triggered or not. One possibility is that macro isn't being triggered at all, the other is that it is being triggered but not behaving as expected.

Try placing a MsgBox at the beginning of the Macro....

Code:
Sub YourMacroName()
 Msgbox "Running my macro from personal.xlsb"

 '...rest of your code

End Sub

Also, please post the macro code.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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