Hi there,
I already use Excel VBA to send emails via Outlook. I need to specify that the email format should be plain text (rather than html or rtf), and that the importance should be "high". Can anyone point me to the tabs / commands / whatever that I need to add to the VBA code in order to do this, please?
I had a look at Ron de Bruin's page but I couldn't see anything on these commands.
Any assistance would be appreciated - thanks!
ssu95bm
Last edited by ssu95bm; 02-08-2012 at 09:34 AM.
Like this:
With CreateObject("Outlook.Application").Createitem(0) .importance = 2 .body = "your text body" .bodyformat = 1 .display End With
Click the * below to say thanks
Girls sleep with guys who use photoshop, but marry the ones who work with Excel
Corduroy pillows: They're making headlines!
Did you mean: recursion
http://www.google.com/search?hl=en&q=recursion
If you don't use htmlbody, the email will by default contain plain text.
@snb mine doesn't, all my emails are set up as HTML as default
Click the * below to say thanks
Girls sleep with guys who use photoshop, but marry the ones who work with Excel
Corduroy pillows: They're making headlines!
Did you mean: recursion
http://www.google.com/search?hl=en&q=recursion
Thanks everyone, using the following as suggested has worked a treat!
Cheers,.importance = 2 .bodyformat = 1
ssu95bm
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks