OfficeLinks and Ole Automation/exporting reports to word

M

Martin

Hi,

is there a method to export Access reports to a RTF file just bei
calling functions by ole automation.
The DoCmd.TransferText does only work for tables and queries (except I
did something wrong) and using the CommandBars doesn't work because
there is still user interaction required.

Thanks + Regards,
Martin
 
M

MarkS

Martin,

Have you tried the DoCmd.OutputTo Command i.e

DoCmd.OutputTo acOutputReport, "myreport",acFormatRTF, "c:\test.rtf"

Hope this helps
 
Top