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

Hardware Man

New Member
Joined
Apr 10, 2013
Messages
32
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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

footoo

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

Hardware Man

New Member
Joined
Apr 10, 2013
Messages
32
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,148,259
Messages
5,745,715
Members
423,969
Latest member
seanguerrero

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