[AccessD] Publish it with MS Word

Charlotte Foust cfoust at infostatsystems.com
Wed Jun 29 10:44:55 CDT 2005


>From the Help file:

The following example outputs the Employees table in rich-text format
(.rtf) to the Employee.rtf file and immediately opens the file in
Microsoft Word for Windows.

DoCmd.OutputTo acOutputTable, "Employees", _
    acFormatRTF, "Employee.rtf", True


Charlotte Foust


-----Original Message-----
From: John Bartow [mailto:john at winhaven.net] 
Sent: Wednesday, June 29, 2005 8:13 AM
To: _DBA-Access
Subject: [AccessD] Publish it with MS Word


I need a quick one here...
 
I have to add a command button to an old A97 app that will output a
report right into to Word (rtf).
 
I can't find my code snippet for doing the "Publish it with MS Word" in
VBA.
 
Anyone have it handy?
 
TIA
John B.
 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list