Thanks to a great FAQ post by itflash, I have discovered the joys of Word/HTML automation. Now I would like to find some documentation for the PEMs of Word automation. Any leads?
d) VFP->Tools->Object Browser->Choose "Microsoft Word 11.0 Object Library" or "Microsoft Word 11.0 Object Library" (11.0 depending on office version)
You'll have a complete list of constants, methods, properties... If you Drag&Drop the constants on an empty PRG editor window it will contain all Word constants as #DEFINEs. Save as word.h/office.h
VFP->Tools->Object Browser->Choose "Microsoft Word 11.0 Object Library" or "Microsoft Word 11.0 Object Library" (11.0 depending on office version)
Use that in conjunction with the VBA Help file. When you find the item of interest in the class browser, click on the yellow Help button to get more information.
If the Help file isn't installed, run Office Setup to install it (I think it's called VBA Help there).
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.