Am working on "protect-unprotect method without losing
form field data" macro to allow the user to insert
documents, use tools that are normally not available in a
Word2000 protected document, etc. I already have code
written to do most of this. Once unlocked, is there an
easy way to designate sections of the document, that
when "clicked in", would automatically lock the document
down again?

Does VBA see "File-Close" and "clicking the "X" in the
upper right corner of the active window as the "same
thing"? And would an AutoClose macro cover both instances?
...your thoughts please

Re: Unlocking a Protected Form Template by Doug

Doug
Fri Jul 30 18:07:00 CDT 2004

See the article "A Pseudo DocumentBeforeClose Event" at:

http://word.mvps.org/FAQs/MacrosVBA/PseudoBeforeClose.htm


--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
"lotsof questions" <anonymous@discussions.microsoft.com> wrote in message
news:771001c4767b$47274f30$a601280a@phx.gbl...
>
> Am working on "protect-unprotect method without losing
> form field data" macro to allow the user to insert
> documents, use tools that are normally not available in a
> Word2000 protected document, etc. I already have code
> written to do most of this. Once unlocked, is there an
> easy way to designate sections of the document, that
> when "clicked in", would automatically lock the document
> down again?
>
> Does VBA see "File-Close" and "clicking the "X" in the
> upper right corner of the active window as the "same
> thing"? And would an AutoClose macro cover both instances?
> ...your thoughts please