#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Outlook

I have been using the following to talk to Outlook from Excel

Set OutL = CreateObject("Outlook.Application") 'this will launchOutlook
(Hidden)
Set NewMail = OutL.CreateItem(0)
NewMail.Subject = UserForm1.TextBox1.Value
NewMail.To = ActiveCell.Value
NewMail.Body = UserForm1.TextBox2.Value
NewMail.Send


Is there any parts of Outlook that can be accessed other than "To",
"Subject" and "Body", Ideally I would like to access the Source of the
message body so that I could send HTML to it and create emails that are
formatted?

I am using Office 97


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Outlook

Stuart

You can access virtually an property that you can change in Outlook's UI.
You cannot, however, access the HTMLBody property in versions prior to
OL2000. This site was tested for XL2000 and OL2000, but I believe the
2000-only properties are noted:

www.dicks-clicks.com

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Stuart" wrote in message
...
I have been using the following to talk to Outlook from Excel

Set OutL = CreateObject("Outlook.Application") 'this will launchOutlook
(Hidden)
Set NewMail = OutL.CreateItem(0)
NewMail.Subject = UserForm1.TextBox1.Value
NewMail.To = ActiveCell.Value
NewMail.Body = UserForm1.TextBox2.Value
NewMail.Send


Is there any parts of Outlook that can be accessed other than "To",
"Subject" and "Body", Ideally I would like to access the Source of the
message body so that I could send HTML to it and create emails that are
formatted?

I am using Office 97




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
custimized outlook today in outlook 2007 Hal Excel Discussion (Misc queries) 2 June 20th 07 12:59 AM
excel open in outlook if outlook is running kirk Excel Discussion (Misc queries) 0 May 24th 06 06:42 PM
Send to Outlook 2000 not Outlook Express Jimbo Excel Discussion (Misc queries) 2 January 4th 05 08:19 PM
Outlook 2003 demo back to Outlook XP Pete Carr Excel Discussion (Misc queries) 1 December 22nd 04 08:04 AM
Outlook vs Outlook Express Stuart Excel Worksheet Functions 1 December 13th 04 08:54 PM


All times are GMT +1. The time now is 10:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"