Dim objOutlook As New Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim i As Long
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)With objOutlookMsg
..To = "***"
..Subject = "*** "
..HTMLBody = "****"
..Importance = olImportanceHigh
..Send
End With
Set objOutlook = Nothing
End Sub
I use the code above ,I think i have set mail priority correctly,but in
outlook 2007,i see the sended mail's proprity is still low?
why?
Re: Outlook - Different Versions ... > Dim objOutlook As Object ... All Outlook variables... > Set objOutlookMsg = objOutlook.CreateItem ...Excel Blog - Daily Dose of Excel ... (microsoft.public.excel.programming)
Re: E-Mail Multiple Reports? See Code Below, is this possible? ... Here's an example module, called modSendMessageA:...Dim objOutlook As Outlook.Application ...Set objOutlookMsg = objOutlook.CreateItem ... I have a continous form that shows my Customer, Invoice Number, Bid Price ... (microsoft.public.access.forms)
Re: Emailing from Access ... Function SendMessage(Dwg As String, Issue As String, Lead As String) ...Dim objOutlook As Outlook.Application ... ' Create the Outlook session....Set objOutlookMsg = objOutlook.CreateItem ... (microsoft.public.access.reports)
RE: Run Time Error 3061 ... The output of the query gives a username, ... str should be for String... >> Dim objOutlook As Outlook.Application ... >> Set objOutlookMsg = objOutlook.CreateItem ... (microsoft.public.access.modulesdaovba)