![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
get the following error and am stuck, compile error
sub or function not defined. not sure what to do to fix it. Sub MovePastDate2Today() Dim t As TaskItem Set f = Application.GetNamespace("MAPI").GetDefaultFolder( olFolderTasks) strText For Each t In f.Items If (t.DueDate DateAdd("d", 2, Now)) Then strText = strText & (t.t.DueDate) End MsgBox strText Next On Error GoTo MovePastDate2Today_Error MovePastDate2Today_Error: MsgBox "Error " & Err.Number & "(" & Err.Description & ")" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smarter NameSpace Reference... | DG | Outlook and VBA | 1 | October 21st 07 03:26 PM |
Reference book recommendation? | cmw | Outlook and VBA | 1 | May 3rd 07 06:57 PM |
Getting rid of reference to deleted program. | Larry S. | Add-ins for Outlook | 1 | July 31st 06 03:15 PM |
Change VBA Reference from PST to OST File | Karl Burrows | Outlook and VBA | 1 | July 18th 06 03:54 PM |
Reference Formula | ~KO | Outlook - Using Forms | 3 | February 24th 06 09:20 PM |