FAQ: Can I open an .mxd file without OpenDocument event firing?
Can I open an .mxd file without OpenDocument event firing?
Yes, you can press and hold the Shift key while opening a document to suppress VBA document events that are fired when loading. This feature is useful if your document crashes when opening and you suspect the problem may be related to code in the MxDocument_OpenDocument event. Suppressing the execution of the OpenDocument event allows you to edit the suspect code after the document is opened.