DoCmd.SendObject xls landscape

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

Guest

Hello all.

I am sending a query as .xls in a mail, using the following code.

DoCmd.SendObject acSendQuery, strReportName1, acFormatXLS, Me![To], , ,
Me![Subject], Me![Message], False

I would like to get the xls-file that is created as landscape instead of
portrait.
I have tried the TemplateFile, but it doesnt work.

If I could get it as landscape would be enought, but it would be great if I
could choose the column width.

Grateful for all ideas.

BR
Claes
 

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

Back
Top