Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating WORD objects
Message
From
05/11/1998 12:11:38
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
04/11/1998 18:40:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00154593
Message ID:
00154880
Views:
23
>Surely someone, somewhere has documented the syntax for the WORD object in VFP. I can't believe that every person who wants to use the WORD object has to spend many valuable hours deciphering and translating from one language to another !??!
>
>Derek

What I have found most useful is to record macros in Word (or Excel) and then use the VBA editor to cut the code out and paste it into Foxpro. Because Macros contain constants, I use the object browser to look up the constant names and then substitute their value or add the constant declaration into my VFP program. This helps to provide the object syntax.

Basically, do what you want the program to do manually and then use the generated macro code to automate the process.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform