Changes in Tasks

  • Thread starter Thread starter Markus Zbinden
  • Start date Start date
M

Markus Zbinden

Hello,

I would like to replace text in the body of tasks. If the tasks are in an
outlook folder, i know how to do it:

Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderTasks)
Set olTaskItem = myFolder.Items

For i = olTaskItem.Count To 1 Step -1
....
Next

But the tasks are saved in a directory (\\server\test\) as *.msg-Files...
i don't see the solution.

Thanks, Markus
 
You can use the GetItemFromTemplate function to load the files.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Mon, 15 Dec 2008 16:10:36 +0100 schrieb Markus Zbinden:
 
Thanks for your answer.
I can't find the method GetItemFromTemplate in the library. Is it possible
for you to make a little example? By the way: i work with ol2003.
Thank you!
Markus

Am 15.12.2008, 21:55 Uhr, schrieb Michael Bauer [MVP - Outlook]
 
Back
Top