irishr_ram
New Member
- Joined
- Jul 16, 2013
- Messages
- 10
Hi All,
I have some VBA which sends a report via email using the below code but unlike a normal email you have this one does not wrap the text when the email window in outlook is reduced or increased in size.
Code:
With ActiveSheet.MailEnvelope
.Item.To = "xxx@xxx.com"
.Item.Cc = "xxx@xxx.com"
.Item.Subject = Worksheets("Dashboard Data").Range("C2").Value & " - " & Worksheets("Dashboard Data").Range("C3").Value & " - " & Worksheets("Dashboard Data").Range("C5").Value & " - " & "Weekly Report"
.Item.Send
End With
Is there a way to get the email sent through (which is just text and not any fancy boxes or formatting etc) so that is will auto adjust the text to fit the outlook email window size for example when viewing on a phone or laptop etc?
Thanks
I have some VBA which sends a report via email using the below code but unlike a normal email you have this one does not wrap the text when the email window in outlook is reduced or increased in size.
Code:
With ActiveSheet.MailEnvelope
.Item.To = "xxx@xxx.com"
.Item.Cc = "xxx@xxx.com"
.Item.Subject = Worksheets("Dashboard Data").Range("C2").Value & " - " & Worksheets("Dashboard Data").Range("C3").Value & " - " & Worksheets("Dashboard Data").Range("C5").Value & " - " & "Weekly Report"
.Item.Send
End With
Is there a way to get the email sent through (which is just text and not any fancy boxes or formatting etc) so that is will auto adjust the text to fit the outlook email window size for example when viewing on a phone or laptop etc?
Thanks