Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / General MS Outlook Questions / March 2008

Tip: Looking for answers? Try searching our database.

macro error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dickery1 - 05 Mar 2008 16:00 GMT
I 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
Brian Tillman - 05 Mar 2008 23:19 GMT
> I get the following error and am stuck,  compile error
> sub or function not defined. not sure what to do to fix it.

Ask in the programming groups.  microsoft.public.outlook.program_vba seems
appropriate.
Signature

Brian Tillman [MVP-Outlook]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.