send report format

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

Guest

DoCmd.SendObject acSendReport, , "Text", , , , varSubject, varText, True

How do I change the format from a text file to a word document file. What word do I place in between the quotations to have my report sent as a word document??
 
So far as I am aware ther is not provision for sending a report as a word
document. The best you can do is to send it as Rich Text Format. Below is
the list of Valid access constants you can use as the OutputFormat argument
of the SendObject method.

acFormatDAP
acFormatHTML
acFormatRTF
acFormatTXT
acFormatXLS

Ron W
Thanes said:
DoCmd.SendObject acSendReport, , "Text", , , , varSubject, varText, True

How do I change the format from a text file to a word document file. What
word do I place in between the quotations to have my report sent as a word
document??
 
If you really wanted to do a bit of work, you can control your document much
more by writing the entire document in code. The output file type you can
control. I use this for creating detailed web pages, but you can change the
..html to .doc without a problem.
 
Ron Weiner said:
So far as I am aware ther is not provision for sending a report as a word
document. The best you can do is to send it as Rich Text Format. Below is
the list of Valid access constants you can use as the OutputFormat argument
of the SendObject method.

acFormatDAP
acFormatHTML
acFormatRTF
acFormatTXT
acFormatXLS

Ron W
Thanes said:
DoCmd.SendObject acSendReport, , "Text", , , , varSubject, varText, True

How do I change the format from a text file to a word document file.
What
word do I place in between the quotations to have my report sent as a word
document??
 
Back
Top