Here we go.

I've got a program that opens MSWord files - no big deal right? Right. It uses the simple:

Set objWordApp = New Word.Application
objwordapp.document.open

code. Well, some of these documents that I open programmatically have AutoOpen macros. This is no good. I want a way to open these documents programmatically without triggering their auto open event. I haven't found anything simple yet. I have however thought about somehow tricking the computer into thinking that the shift key is depressed. Because as we all know, An auto open macro can not run when the shift key is depressed while opening a word document. So my question is... Does anyone know how I can trick the computer into thinking the shift key is locked for a given period? Or... Does anyone have any suggestions as to how I can open a word document programmatically without triggering its autoopen macros? Please HELP!

Thanks,

Bernie

If you can't code it, eat it.