Disabling macros in Excel 2016

tiredofit

Well-known Member
Joined
Apr 11, 2013
Messages
1,924
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
In previous versions of Excel, if I hold down the shift key whilst opening an excel workbook, macros are disabled.

Alternatively, if the macro security setting is set to "Disable all macros without notification", macros will also be disabled.

However, in the Excel 2106 64 bit version, I have noticed neither of the two methods mentioned disables macros.

My only workaround is:

1. Open Excel manually

2. Set the setting to " "Disable all macros without notification"

3. In Windows explorer, change the name of the Excel file, say to "Copy of"

4. Then open it

Has anyone else experienced this as well?

Thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
No because it's written in such a way that the code in ThisWorkbook checks to see if you're an authorised user. If not, it won't open, so I don't get the chance to save it as .xlsx (and if I did, all the code will be lost).
 
Upvote 0
I'm not sure what you want to do then, Are you trying to disable the macros for certain users?
 
Upvote 0
The program contains code in "ThisWorkbook", ie upon opening the workbook, the code kicks off and verifies whether or not the user is an authorised user or not.

If not, it will not proceed.

I am trying to suppress that part of the code that does the checking, by disabling macros, so it doesn't check it.
 
Upvote 0
No worries, I got round it anyway but wanted to know if this behaviour is new to Excel 2016 or not.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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