gibbo1715
03-23-2005, 03:57 AM
I have the code below, i know i can set the priority(high, medium, low ) in outlook but not sure how to do it from this macro, can I also generate a receipt as well from this macro when they have received or read the email message?
Private Sub btnEmail_Click()
'Variable declaration
Dim oApp As Object, _
oMail As Object
'Create and show the outlook mail item
Set oApp = CreateObject("Outlook.Application")
Set oMail = oApp.CreateItem(0)
With oMail
'Uncomment the line below to hard code a recipient
.To = ""
'Uncomment the line below to hard code a subject
.Subject = "Subject"
'use .Display to just show the mail
.Body = "Body"
.Display
End With
Set oMail = Nothing
Set oApp = Nothing
Many Thanks
Gibbo
Private Sub btnEmail_Click()
'Variable declaration
Dim oApp As Object, _
oMail As Object
'Create and show the outlook mail item
Set oApp = CreateObject("Outlook.Application")
Set oMail = oApp.CreateItem(0)
With oMail
'Uncomment the line below to hard code a recipient
.To = ""
'Uncomment the line below to hard code a subject
.Subject = "Subject"
'use .Display to just show the mail
.Body = "Body"
.Display
End With
Set oMail = Nothing
Set oApp = Nothing
Many Thanks
Gibbo