Help on OutputTo for VBA

D

Daniel

I am trying to output a report to Microsoft Word when the
user wants to open the report from the form.
I got it to work. In VBA, I used:

DoCmd.OutputTo acOutputReport, ActualName, acFormatRTF,
File & ".rtf", -1

-Is there a way to open the output the file into a .doc
file rather than a .rtf?
-BUT the main thing I would like to fix is that when I am
openning the report using the above code, a printing
msgbox pops up. I don't know why this is coming up since
it is not printing the report. Inside the printing msgbox
it says: Outputting from "Report name" to "File
name.rtf". And it does create the file, but I don't know
why the msgbox says Printing in the msgbox. Is there a way
to remove it or change the Printing title?
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top