Excel crashed while running macro, now I can't run any macros

ERox

New Member
Joined
Apr 6, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I created a small macro to copy new inputs to the end of a row of cells. The issue that I should've seen coming was that the last row where data was being pasted was in the range being watched, so Excel infinite-loop crashed. When I reopened the workbook the macro didn't respond to changes to the cells it watched, so I tried to run another macro from the VBA editor, but got an error pop-up (attached below). When I tried to go to the settings to allow macros, the options were all grayed out.

Picture1.png


What I've tried, and things to know:
I did change the code to avoid the infinite loop.
I sent the file to a coworker who was able to open it and saw the code executing as expected.
I restarted my PC, and the options are still grayed out.
I had the coworker send the file back to me; I downloaded it and opened it, but I got the same error pop-up and the options were still grayed out.
I'm running office 365 on Windows 10 Enterprise.
I've contacted my company's IT, but I don't know how long it'll take them to respond.
 

Attachments

  • 1649257746057.png
    1649257746057.png
    6.1 KB · Views: 24
Last edited by a moderator:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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