Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Automation & MS Word
Message
De
25/06/2003 06:55:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/06/2003 17:57:50
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00803546
Message ID:
00803681
Vues:
9
>I am trying to send VFP data to a MS Word DOC by adding bookmarks to the word doc and using the Word objects Goto command to insert the VFP data into the doc. This works great unless the bookmark is in a Textbox. If the bookmark is in a Textbox I get an error 1429 'Word cannot find the requested bookmark'. Does anyone know how I can access the bookmark in the Textbox?? Any and all help is greatly appreciated.
>
>Thank You
>
>Ken Saldate
*#DEFINE wdCollapseStart 1	
*#DEFINE wdCollapseEnd 0	

with oWord
  .ActiveDocument.Bookmarks('BookMarkName').Select
  .Selection.Range.Collapse(0)
endwith
Positions the cursor at the end of bookmark (in a textbox or not).
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform