> I have been able to locate the bookmarks, but since the document is
> protected I get an error inserting the text using either .InsertBefore or
> .InsertAfter.
That's normal. Unprotect first. Insert text. Reprotect doc.
> Does anyone know how to insert the text into the bookmark and retain the
> bookmark?
http://word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm
K. Wilder - 24 Mar 2005 23:37 GMT
David,
Unfortunately, I won't have access to the password to unprotect it. This is
a third party Word document that my client is using. I trying to create a
automated way of them filling in the forms.
Thanks,
King
> > I have been able to locate the bookmarks, but since the document is
> > protected I get an error inserting the text using either
[quoted text clipped - 8 lines]
>
> http://word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm