Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jumping to a Bookmark in Word
Message
De
11/06/2002 07:54:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00666768
Message ID:
00666856
Vues:
20
>Hi, the sintax to jump to a Bookmark is
>
>expressão.GoTo(What, Which, Count, Name)
>
>How can I use this within VFP?
>Regards,

As Cetin showed you, you can access a bookmark directly, but you probably don't even need the Select syntax he showed. If, for example, you want to replace the text at a bookmark, you can just do it this way:

oDocument.Bookmarks("YourBookmark").Range.Text = "Put this text at the bookmark."

In general, you rarely need to select something in Word in order to work with it.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform