Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Outlook Task to complete

Status
Not open for further replies.

ozzroo

Technical User
Feb 28, 2003
182
AU
Can someone help me out with some code to update a an outlook task to complete from microsoft access. I am using the following code to add a task to outlook from a form:

Dim appOutLook As Outlook.Application
Dim taskOutLook As Outlook.TaskItem
Set appOutLook = CreateObject("Outlook.Application")
Set taskOutLook = appOutLook.CreateItem(olTaskItem)

With taskOutLook

.Subject = Me.Subject
.DueDate = Me.DueDate
.Body = Me.Body
.Complete = False
.ReminderSet = False
.Save
End With
DoCmd.Close

How can i use the same form, by checking the completed field in access and then update it in outlook?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top