![]() |
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
|
|||
|
|||
![]()
Hello
I have a fully working code but for some reason it still triggers the err block. can someone tell me why. I get a msgbox with Error 0 in it. i thoght that they get triggered only if there is a error. Sub MovePastDate2Today() On Error GoTo MovePastDate2Today_Error Dim t As TaskItem Set f = Application.GetNamespace("MAPI").GetDefaultFolder( olFolderTasks) strText = "" For Each t In f.Items If (t.DueDate Date And Not (t.Status = olTaskComplete)) Then 'strText = strText & (t.DueDate) & " " t.DueDate = Date t.Save End If Next 'MsgBox strText 'MsgBox Date MovePastDate2Today_Error: MsgBox "Error " & Err.Number & "(" & Err.Description & ")" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where are they coming from? | C-Dog | Outlook - Using Contacts | 4 | September 14th 07 05:27 PM |
Error message in mircosoft word in mail merge coming frm outlook03 | Jessica | Outlook - Using Contacts | 1 | May 15th 07 10:53 PM |
It Keeps Coming | Ron | Outlook Express | 6 | October 10th 06 11:52 PM |
Strange error coming from OUTLOOK... | Karan | Outlook - General Queries | 0 | June 13th 06 06:36 AM |
Help-Error msg popup "A program is trying to access email addresses. . ' | WF | Outlook - General Queries | 1 | April 29th 06 02:08 AM |