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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
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,216,106
Messages
6,128,863
Members
449,473
Latest member
soumyahalder4

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