Need to disable macros or view VBA code

foxxfyre

New Member
Joined
Dec 9, 2013
Messages
8
EDIT: Resolved - Disabled Trusted Documents

So... I've coded myself into a corner.

Upon opening my file, I have a userform that pops up requiring the user to make a selection before they can proceed to the excel file. I accidentally disabled the button that would close the userform and allow them to proceed to the excel file, and then I saved and closed the excel file. Now, when I open the file again, I cannot proceed past the userform AND excel won't let me open up the VBA editor to fix the mistake.

I cannot click on the X in the top right hand corner to close the userform either since I disabled it to prevent users from not filling out the mandatory userform.

Help! Is there a way to change my excel settings to disable all macros? I'm guessing that's one work around. If somebody has any suggestions, I'm all ears.
 
Last edited:

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
That didn't work unfortunately.
BUT -
What did work was clicking "Disable Trusted Documents" under Macro Security.

Thanks so much for replying! What does holding down the Shift key do? Kill all macros?
 
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,030
Members
449,414
Latest member
sameri

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