>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