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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,224,823
Messages
6,181,176
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