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
 
Back
Top