>I am having strange problem with a new Word merge document. The document and the mail merge work fine on my computer but not on the customers. When the following line of code is executed:
>
>oRange = oDocument.Bookmarks["Location_Table"].Range()
>
>I get the following error message "Member BOOKMARKS does not evaluate to an object". I have checked the application and the word document they match. What could be causing this problem?
>
>Thanks in advance
First check if such a bookmark really exist:
if oDocument.Bookmarks.Exists("Location_Table")
oRange = oDocument.Bookmarks["Location_Table"].Range
endif
Cetin