Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Member BOOKMARKS does not evaluate to an object
Message
De
10/07/2007 07:31:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/07/2007 22:23:28
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01238769
Message ID:
01238820
Vues:
11
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform