K
K. Wilder
I've written a little VB 6.0 app that creates a Word 2000 application object
to open any selected Word document.
I want to search for a particular Bookmark and then insert text into it.
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.
Does anyone know how to insert the text into the bookmark and retain the
bookmark?
I can manually unprotect the document and then the program runs fine, but it
still either inserts the text before the bookmark or after it, or replaces
it. I want to keep it.
Any help is appreciated.
Thanks,
King
to open any selected Word document.
I want to search for a particular Bookmark and then insert text into it.
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.
Does anyone know how to insert the text into the bookmark and retain the
bookmark?
I can manually unprotect the document and then the program runs fine, but it
still either inserts the text before the bookmark or after it, or replaces
it. I want to keep it.
Any help is appreciated.
Thanks,
King