I have a template I have been working on. It was password protected and I
went under protect document and unprotect it. I saved and closed the
template. But when I try and reopen it, Word asks for the password. When I
type in the password the template opens. But when it opens the AutoExec macro
does not run. If I manually run the macro; it works fine. Itâ??s as if the
AutoExec macro does run because the template is still protected some how. Any
ideas on this would be helpful.

LEU

Re: Autoexec not running by Russ

Russ
Wed Nov 21 20:57:06 PST 2007

Sub AutoExec() only runs when Word first opens.
Put this message there to see when it does run.
MsgBox "In AuToExec Sub!"

Put this message in Sub AutoNew()
MsgBox "In AutoNew Sub!"



> I have a template I have been working on. It was password protected and I
> went under protect document and unprotect it. I saved and closed the
> template. But when I try and reopen it, Word asks for the password. When I
> type in the password the template opens. But when it opens the AutoExec macro
> does not run. If I manually run the macro; it works fine. It¹s as if the
> AutoExec macro does run because the template is still protected some how. Any
> ideas on this would be helpful.
>
> LEU
>

--
Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID