VB running with macros disabled

lol.xls

Board Regular
Joined
Oct 5, 2009
Messages
174
I have code that executes on open. After the code runs, it saves and closes the workbook...which it is supposed to do. HOWEVER, when I disable macros, and try to open my workbook to edit my code, the code still runs, even though my excel settings have macros disabled. What.The.Heck?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Seems a bit odd and highly unlikely, but have you tried opening the workbook manually, so as not to trigger the macro

To run the workbook without triggering the open macro
Open Excel>>File menu>> "Open" >>locate your file>>Hold down the "Shift" key while you click "Open," and continue holding it until the workbook finishes loading.
 
Upvote 0
This was pulled from SmallBusiness website

To run a workbook without triggering a startup macro, you need to open it from within Excel, rather than double-clicking the file in Windows. Open Excel, go to the File menu, click "Open" and locate your file. Hold down the "Shift" key while you click "Open," and continue holding it until the workbook finishes

Edit:
lol, Micheal beat me to it
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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