(Contents)(Previous)(Next)

Completed (property)

Description: True if this task has been completed. You may mark a task as completed by setting this property. You may both set and get this property.
Type: Boolean
Default: False
Example:
Dim session As Object

Dim user As Object

Dim tasks As Object

Dim task As Object

Set session = CreateObject("OfficeTalk.Session")

Set user = Call session.Logon(login name, password)

Set tasks = user.tasks

Set task = tasks.Add

task.Completed = True

If task.Completed Then

MsgBox "This task has been completed"

End If


Next