Outlook macro to update Rememberthemilk or voo2do

Published Wed, Oct 19 2005 11:09 | girishb

If you are one of those guys who uses these todo list sites such as RTM, backpackit or Voo2do, like me.. you probably despise the fact that you need to start off with typing in the same things that are in the “tasks” list for outlook. If you do, here is a simple macro that basically pushes all the inclomplete tasks in your task list to the site using their e-mail in support.

Replace the mail.To with the right email address, stick it in as a Outlook macro through Tools-Macros.  That's it.


Sub PostToRTM()
    Dim f As MAPIFolder
    Set f = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks)
    Dim t As TaskItem
    For Each t In f.Items
        If (t.Complete <> True) Then
            Dim mail As MailItem
            Set mail = Application.CreateItem(olMailItem)
            mail.To = "<replace this with the email that you have from the todo list site>"
            mail.Subject = t.Subject
            mail.BodyFormat = olFormatPlain
            mail.DeleteAfterSubmit = True
            mail.Send
        End If
    Next
End Sub

Comments

# TrackBack said on October 25, 2005 7:54 PM: