Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jumping to a Bookmark in Word
Message
De
11/06/2002 13:00:34
 
 
À
11/06/2002 11:50:18
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00666768
Message ID:
00667003
Vues:
20
>Do you know is this
>
>oDocument.Bookmarks("YourBookmark").Range.Text = "Put this text at the bookmark."
>
>faster than
>
>oDocument.Bookmarks("YourBookmark").Select
>oDocument.Selection.TypeText("Put this text at the bookmark.")

While I haven't benchmarked it, I know that, in general, operating on ranges is faster than operating on the Selection object. All the Word experts I know recommend using range rather than selection.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform