Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00156397
Message ID:
00156470
Vues:
38
>When trying to underline some text in word97 using automation from VFP50 I use code like the following.
>
>with goWord.Selection
> .Style = "Normal"
> .Font.Underline = wdunderlinesingle
> .InsertAfter(" Paul Montgomery")
>endwith
>
>I am getting the error message "Variable 'WDUNDERLINESINGLE' is not found.
>
>This is one of the constants for Word97. Any suggestions as to why this is not being found?
>
>Paul Montgomery
>
>I can't complain, but sometimes I still do - Joe Walsh

Menachem Bazian has extracted all Office97 constants and allowed me to post them on my website. They are there for your use.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform