Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word SaveAs
Message
 
To
04/03/2000 19:04:10
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00323592
Message ID:
00341825
Views:
22
>You mention "What each parameter is I found in the VBA help that came with word. When I saved a macro I looked at the code
> then converted it to vfp."
>
>I'm new to the whole Word macro thing (recent convert from WordPerfect ... sorry). Can you point me in the right direction as to how to do the above?

Bill, yo can try to save any macro in Word, then go to Visual Basic Editor (under Tools/Macros menu) and then you can open Object Browser (under View/Object Browser) You will see there all Word Objects/Properties/Methods and you can open help for any of them.
You should translate VBA parameters style to (named parameters) into VFP style. VBA uses many constants. You may get their values from the Help, or use the as is if you include the header file with those constants into your VFP program. You can download the header files with all constants for Word and Excel here from the Files section.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform