How to export report into word format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I try to export my "report" into word file, I choose from Menu bar
-"Publish it with Microsoft Office Word". However, it ONLY export to rtf
format, not the WORD doc format.

I suspect that due to this, I lost some graphic layout on my Access report.
Does anybody knows that how can I export a report into DOC file?

Or, is there a dummy Microsoft Word printer I can export to? So, at least I
will get a word format file?

Thanks.
 
I don't know anything that exports a report to a .doc file; both the
standard "publish it" facility and Steven Lebans's alternative create
RTF files that can be opened in Word and saved as .doc files (if
necessary, this can be done under program control from Access).

The loss of the graphics isn't due to the RTF format but to the
limitations of the code behind the "publish it" facility. This
http://www.lebans.com/ReportUtilities.htm overcomes most of the
limitations.
 
Thanks for all.but i still found a problem when i use ReportUtilities,In a
chinese editon office access,it pop a message say you export object that's
can't be use.
why this happen.
 
I don't know what might be causing this.

Is there an error number as well as the error message?

What versions and service packs of Windows and of Access are you using?
 
there isn't a error number.
the error occur in office2003 chinese editon and winxp sp2 chinese editon.
and my customer use the Enlish edition.it works fine,so it can't be troblue
for me.thanks
 
The error sounds like you are unable to export the Report to Snapshot
format. Can you verify that you can manually export a Report to Snapshot
format?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hi
I have try to export reprot to snapshot format manually.it works fine.I
don't know why.
Thanks for your reply.
 
Since you are not hitting any of the ReportUtilities class error
handling it must be part of the logic that uses the DmCmd method to
export the Report to Snapshot format. I cannot, due to Chinese vs
English versions, debug it here. Can you step through the code? It might
be in the first few lines of code.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
I just used code like this "pf.ExportToMSWord "MARKS3_4"",That's the example
told me to do like this.I do not used the docmd method.
thanks
 
Back
Top