Insert Data in Word Bookmarks
Hello,
I am trying to find bookmarks I set in MS Word 2007 so that I can replace form field with text via C# (Visual Studio .NET 2003). When I write the code, I don't see the methods that I have seen in many examples on the web.
objDocument.Bookmarks.get_Item(ref objBookmark).Range
The "get_Item" method is not available when I type objDocument.Bookmarks.
The same goes for "Item".
I have "using Word = Microsoft.Office.Interop.Word;" at the top of my code.
I try running the code and get this error message "The requested member of the collection does not exist."
Any ideas?
Thanks.
Jason