Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a selection in Word
Message
De
14/08/2002 14:20:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00689608
Message ID:
00689677
Vues:
15
Thanks Yuri, that is just what I needed.
Winn

>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,
Winn Pauley
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform