Excel for Mac Crashes when I protect Sheet, and run a macro.

CKW USMC

New Member
Joined
Apr 15, 2024
Messages
1
Office Version
  1. 2021
Platform
  1. MacOS
I"m running a MacBook Air M1 OS 14.1.
I'm running MS VBA 7.1
I'm using Excel for Mac Ver. 16.7 Office Home & Business.

The issue I have is when I run a macro when the sheet is protected it will crash.
When the sheet does not protect it the macro works fine.
I protect the worksheet and I don't run the macro there's no issue.
Has anybody got any ideas or what the issue might be.
When I protect the worksheet there's several radio boxes the check on what you want to protect.
When I protect the sheet I check all those boxes, to grant all access that I can.
But if you try to run a vba it will crash. You also have the option to protect a vba, however I made sure that that was not checked.
Thank you in advance for your time.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,813
Messages
6,181,114
Members
453,021
Latest member
Justyna P

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