Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find and highlight word in a word document
Message
De
08/10/2009 10:04:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01428224
Message ID:
01428262
Vues:
29
I am now doing a saveas right after opening the doc. That avoids changes since I delete the temp doc at the end.

but back to the highlighting. It creates a markup like cross out all thos words. It even puts a vertical line in the left margin.
I would like to set the background color just like it's highlightes with a color felt pen

Thanks

Peter

>>Thanks Cetin,
>>almost perfect. The action is correct but the selected words have a red fontcolor and a horizontal line through it. No background color
>>
>>also can the dialog 'do you want to save this doc' be avoided and the changes (highlite) just be thrown out? It's just for viewing!
>>
>>Thanks again
>>
>>
>>Peter
>>(btw my daughter now lives n istambul and loves it - except she got caught by the riots and had to hide under a table in a restaurant)
>>
>>
>
>On your last question only - try to set loWord.Application.DisplayAlerts = .F.
>
>Check Re: Ignore word messages Thread #1404402 Message #1404406
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform