none
How to copy a task to a Servers tasks folder? RRS feed

  • Question

  • Hi there,

    quite novice as dev but need help to write a simple macro that would copy my own tasks into a servers tasks folder under the Other Tasks.

    this way I can keep my tasks updated/synced on a Sharepoint tasks list.

    Anyone who can help?

    thanks

    Monday, June 4, 2012 7:14 AM

Answers

  • obtain reference to your folders using

    set fromFolder = ThisOutlookSession.Session.GetDefaultFolder(olFolderTasks) 'or any other folder depending where you have your tasks

    set toFolder = fromFolder.Folders.Item("your sharepoint folder in outlook")

    now iterate through tasks in fromFolder and use .Move function to move it to toFolder.

    Monday, June 4, 2012 11:59 AM

All replies