How to Re-enable all macros after a crash and "repair"

Hardware Man

New Member
Joined
Apr 10, 2013
Messages
40
Hi Guys,

I have a workbook with a bunch of macros in it, several of which are called with activeX buttons on the worksheets themselves. I had a crash today and when I attempted to re-open the workbook, Excel had to "disable all ActiveX controls" in order to repair the file.

Now I'm getting a message box whenever I try to click on a worksheet button saying "Cannot run Macro XYZ, The macro may not be available in this workbook or all macros may have been disabled".

I went into the Trust Center and chose "Enable all macros" and "enable Active X Controls" but I'm still getting the same unhappy results. Any ideas?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

footoo

Well-known Member
Joined
Sep 21, 2016
Messages
3,442
Office Version
  1. 365
Platform
  1. Windows
Try assigning again the macros to the buttons
 

Hardware Man

New Member
Joined
Apr 10, 2013
Messages
40
Yes, I did try that. I even made a new button and attempted to link a "hello world" macro. No luck.
 

Forum statistics

Threads
1,181,607
Messages
5,930,881
Members
436,764
Latest member
avalladarez

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