Afternoon all, the following code creates an email.
Sub Test()
Set olookApp = CreateObject("Outlook.Application")
Set mailNewmail = olookApp.CreateItem(olMailItem)
With mailNewmail
.To = "Test"
.CC = ""
.Subject = "Test"
.Body = "Test"
End With
mailNewmail.Display
End Sub
Does anyone know what modifications would be required to create a task instead?
Thanks, Wook
Sub Test()
Set olookApp = CreateObject("Outlook.Application")
Set mailNewmail = olookApp.CreateItem(olMailItem)
With mailNewmail
.To = "Test"
.CC = ""
.Subject = "Test"
.Body = "Test"
End With
mailNewmail.Display
End Sub
Does anyone know what modifications would be required to create a task instead?
Thanks, Wook