Email in body of outlook - landscape?

MOB

Well-known Member
Joined
Oct 18, 2005
Messages
1,055
Office Version
  1. 365
Platform
  1. Windows
I have some code which includes this;

Code:
With ActiveSheet.MailEnvelope
    .Introduction = ""
    .Item.To = "email address"
    .Item.Subject = "subject"
    .Item.Send
End With

It works fine, however the data is quite wide so the email has to be manually set as Landscape to be able to print it.

Is there a way to automatically set the outlook item to be landscape rather than portrait?

I thought this would work but alas not;

.PageLayout = Landscape

TIA
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Email message print orientation is controlled at the recipient's end. Perhaps you should be sending the content as an attachment (Word/Excel/PDF), which gives you the opportunity to control the page setup.
 
Upvote 0
Thanks, ended up with a PDF attachment instead.
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,681
Members
449,048
Latest member
81jamesacct

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top