arichexe
asked on
programmatically produce Word docs
How can I utilize MS Word's exposed object model, and programmatically (using vbscript) produce Word docs?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can use Wrddoc.Save
What do you mean by Word language referance guide?
What do you mean by Word language referance guide?
ASKER
Language reference for commands such as ParagraphFormat.Alignment, InsertParagraphAfter, etc?
MSDN has some good stuff on all the OLE capabilities.
http://msdn.microsoft.com/library/en-us/off2000/html/wohowUnderstandingObjects.asp
http://msdn.microsoft.com/library/en-us/off2000/html/wotocObjectModelApplication.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/wohowUnderstandingObjects.asp
http://msdn.microsoft.com/library/en-us/dnanchor/html/odc_ancoffice.asp
http://msdn.microsoft.com/library/en-us/off2000/html/wohowUnderstandingObjects.asp
http://msdn.microsoft.com/library/en-us/off2000/html/wotocObjectModelApplication.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/wohowUnderstandingObjects.asp
http://msdn.microsoft.com/library/en-us/dnanchor/html/odc_ancoffice.asp
When I code OLE stuff I always have MSDN open and ready to look stuff up :)
ASKER
Thanks! I tried WRDDOC.Save "c:\test.doc" and got a type mismatch error.
Use SaveAs instead if you want to give the name
ASKER