SendObject for report as HTML

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.
 
G

Guest

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
 

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