B
Brian Mitchell
This might be the wrong group, if so I apologize.
I am using VB.NET and the Word class to access word documents. My documents
were created as word forms with several custom textboxes (all with bookmarks
names).
I can read the text just fine, but when I try to set them I get an error:
"This method or property is not available because the object refers to a
protected area of the document."
If I unprotect the document (the .DOT) I get another error telling me the
bookmark cannot be deleted (even though I am not trying to delete it).
I am using the document.bookmarks.item.range.text property to set it. Am I
doing something wrong or is there another way to set the text?
Thanks!!
I am using VB.NET and the Word class to access word documents. My documents
were created as word forms with several custom textboxes (all with bookmarks
names).
I can read the text just fine, but when I try to set them I get an error:
"This method or property is not available because the object refers to a
protected area of the document."
If I unprotect the document (the .DOT) I get another error telling me the
bookmark cannot be deleted (even though I am not trying to delete it).
I am using the document.bookmarks.item.range.text property to set it. Am I
doing something wrong or is there another way to set the text?
Thanks!!