[AccessD] Publish it with MS Word

John Bartow john at winhaven.net
Wed Jun 29 14:53:24 CDT 2005


Thanks Charlotte,

That got me where I needed to go. I'm really rushed right now and even with
the good 'ol A97 help it doesn't work well when you're under extreme
pressure!

John B. 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust
Sent: Wednesday, June 29, 2005 10:45 AM
To: Access Developers discussion and problem solving
Subject: RE: [AccessD] Publish it with MS Word

>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
-- 
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