Changes in Tasks

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
 
M

Michael Bauer [MVP - Outlook]

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:
 
M

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top