Charles
Tue Nov 01 08:35:47 CST 2005
A completed mailmerge destroys protected form fields. They disappear as
fields. That is how it is.
--
Charles Kenyon
Word New User FAQ & Web Directory:
http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
http://addbalance.com/usersguide
See also the MVP FAQ:
http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Daz" <darrenbichan@hotmail.com> wrote in message
news:1130842205.634151.308340@g43g2000cwa.googlegroups.com...
> Thanks for your suggestions. Sadly I can't see how it'll resolve my
> issue.
>
> To answer your question first though, yes it is a protected form.
>
> Suggestion 1. I know how to unprotect and reprotect my form using code
> in the document template. The problem here is that my component
> launches Word and creates a new existance of my template which fires
> AutoNew where I unprotect my form. My component then goes through all
> the DDE fields in the document and does a merge with our database.
> After this is complete I need to protect the fields again. I can't see
> any event I can use in VBA that is a post AutoNew i.e. I need something
> that fires once the document is displayed.
>
> Suggestion 2. I'm a bit lost with this one and can't see how it'll
> resolve the problem.
>
> Thanks for your input and any additionals (and California is a great
> place as is Scotland :-) )
>