SendObject for report as HTML

  • Thread starter Thread starter Jordan
  • Start date Start date
J

Jordan

I have a report that I want to send out via email, but the send as RTF, DOC,
and XLS opitions really butcher it. SNP works fine, but no one has the SNP
viewer installed. I would like to use the HTML option to output and use a
template, but I can't find any directions on how to use an HTML template.

My report is pretty simple -A header and a details section and a footer.
 
Hi,
what method are you sending this with? Sendobject?
Pay attention to the sendobject syntax:

DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][,
bcc][, subject][, messagetext][, editmessage][, templatefile]
With the last optional argument you can specify a template file to be used.
So specify your file and the path to it and then it will be used in the
output.
HTH
Good luck
 
Back
Top