Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
 
 
To
10/11/1998 16:30:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00156397
Message ID:
00156444
Views:
37
Paul,

If you go to my website there's an article on how to extract all of the Word constants, and a page with all of the constants as VFP compatible #defines.

>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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform