guys - i am using the code below and it kinda works -up to the message bit ..
what have i done wrong - ????
Dim EmailApp, NameSpace, EmailSend As Object
Set EmailApp = CreateObject("Outlook.Application")
Set NameSpace = EmailApp.GetNamespace("MAPI")
Set EmailSend = EmailApp.CreateItem(0)
EmailSend.To = [Forms]![quotefrm]!
EmailSend.Subject = " Our Reference" & " " & [Forms]![quotefrm]![QuoteNo] & " " & [Forms]![quotefrm]![Insured]
EmailSend.Message = "zipxc"
'EmailSend.Attachments.Add "C:\temp\cancellation.xls"
EmailSend.Display
Set EmailApp = Nothing
Set NameSpace = Nothing
Set EmailSend = Nothing
what have i done wrong - ????
Dim EmailApp, NameSpace, EmailSend As Object
Set EmailApp = CreateObject("Outlook.Application")
Set NameSpace = EmailApp.GetNamespace("MAPI")
Set EmailSend = EmailApp.CreateItem(0)
EmailSend.To = [Forms]![quotefrm]!
EmailSend.Subject = " Our Reference" & " " & [Forms]![quotefrm]![QuoteNo] & " " & [Forms]![quotefrm]![Insured]
EmailSend.Message = "zipxc"
'EmailSend.Attachments.Add "C:\temp\cancellation.xls"
EmailSend.Display
Set EmailApp = Nothing
Set NameSpace = Nothing
Set EmailSend = Nothing