Paul,
DoCmd.OutputTo acOutputReport, cReport, acFormatRTF, "c:\LienTracker\test.dotx", True
cReport is a string variable that contains the name of the Access report. This is the same code I have been using, except that I'd output to a file name like test.rtf instead of test.dotx.
Doug
Thanks, Paul. I tried this (I should mention that the client is on Office 2007) and so "created" a .dotx file. Anyway, when I execute the OutputTo command, it opens Word with a blank window. If I try to explicity open the .dotx file Word says it is corrupted.
Doug
Hi All,
I have a report that I designed for a client that they frequently need to send to Word as an RTF so that can customize some formatting and wording (long legal documents). They would like to change the general format of the report so that lines of text are double-spaced. I can get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.