Question : Outlook Macro to change Task Date with Calendar

Hi to all, i'm looking for a marco that change the task date (duedate) in many task selected in Application.ActiveExplorer.Selection with a calendar form. For now i can change only task priority using macro...

Any idea ?

Thanx a lot

Answer : Outlook Macro to change Task Date with Calendar

That becomes a simple mater of entering the date:

Chris
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
Sub modTasks()
Dim obj As Object
Dim theDate As String

    If ActiveExplorer.Selection.count = 0 Then Exit Sub
    theDate = InputBox("WHat is the required deferrment date? ")
    If Not IsDate(theDate) Then Exit Sub
    For Each obj In ActiveExplorer.Selection
        If obj.Class = olTask Then
            obj.DueDate = theDate
            obj.Save
        End If
    Next
    
End Sub
Random Solutions  
 
programming4us programming4us