Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a selection in Word
Message
 
À
14/08/2002 11:49:08
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00689608
Message ID:
00689657
Vues:
20
Not quite sure why you need to highlight. If you just want to underline, then this should work whithout selection, highlights, etc:

oWord.activedocument.RANGE(5,10).Font.Underline=1

>Hi All,
>I am having a difficult time getting my code to select (highlite) a word just so I can underline it. I am using the following code:
>
>
oWord.Selection.MoveLeft(wdCharacter, lnCount)
>
>where lnCount is the number of characters to be underlined. Does anyone have any ideas?
>Thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform