![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]() 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: 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 |
#3
|
|||
|
|||
![]()
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] : You can use the GetItemFromTemplate function to load the files. |
#4
|
|||
|
|||
![]()
Michael made a typo, it should be CreateItemFromTemplate().
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Markus Zbinden" wrote in message news ![]() 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to view past due tasks in the tasks pane below mycalendar Day view? | [email protected] | Outlook - Calandaring | 4 | September 29th 08 08:28 AM |
Tasks | Leon[_2_] | Outlook - Using Forms | 7 | August 2nd 07 12:21 PM |
is it possible to link tasks in the tasks with the calendar? | tasky mary | Outlook - Calandaring | 3 | March 12th 07 11:06 PM |
Printing calendar and active tasks - do not want all tasks | rrupp | Outlook - Calandaring | 1 | August 18th 06 08:36 AM |
Tasks - User Defined Columns to Pocket PC Tasks??? | Lovebaby | Outlook - General Queries | 1 | July 23rd 06 08:14 PM |