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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
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,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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