I want to export my report to Microsoft Word. When I run the command from VB:
DoCmd.OutputTo acOutputReport, "rptInvoice", ".rtf", "MyReport"
I get the error:
After some debugging its looking like I'm I have the wrong parameter to specify MS Word (i.e., ".rtf" is wrong). I can't find any online documentation on this. What value does one use to spec MS Word?
Thanks!
Rich
DoCmd.OutputTo acOutputReport, "rptInvoice", ".rtf", "MyReport"
I get the error:
Code:
"Run-time error '2282':
The formats that enable you to output
data as a Microsoft Excel, rich-text format,
MS_DOS text, or HTML file are missing from
the Wondows Registry."
Thanks!
Rich