![]() |
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 |
#2
|
|||
|
|||
![]() Michael, you must store the time of your last copying somewhere. Then you can compare that value with each item's CreationTime and LastModifiedTime properties. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - The most effective way to assign Outlook categories: http://www.shareit.com/product.html?...4&languageid=1 (German: http://www.VBOffice.net/product.html?pub=6) Am Wed, 21 Mar 2007 22:12:36 +0100 schrieb MIchael: Hello careful Iam beginner ;-)) I copy journaled items from a private to a public journal folder. Is ist possible to copy only the changed and new items? How? Thanks very much for your help MIchael Code: Dim myOlApp Dim myNamespace Dim myFolder Dim myFolder2Parent Dim myFolder2 Dim myJournalItems Dim myitem2copy Dim myCopiedItem Set myOlApp = CreateObject("Outlook.Application") Set myNamespace = myOlApp.GetNamespace("MAPI") Set myFolder = myNamespace.GetDefaultFolder(olFolderJournal) Set myFolder2Parent = myNamespace.Folders("Õ¦fentliche Ordner") Set myFolder2Parent = myFolder2Parent.Folders("Alle Õ¦fentlichen Ordner") Set myFolder2 = myFolder2Parent.Folders("AS-DA2-Journal") Set myJournalItems = myFolder.Items For Each myitem2copy In myJournalItems If myitem2copy.Sensitivity = 0 Then Set myCopiedItem = myitem2copy.Copy myCopiedItem.Move myFolder2 myitem2copy.Delete End If Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
all calendar items suddenly changed to 2 days | Dr Byte | Outlook - Calandaring | 5 | July 17th 06 10:04 AM |
Cannot copy this folder as it may contain private items | carlstev | Outlook - General Queries | 2 | March 9th 06 10:03 PM |
View/Print Activities (Journal Items) | MPFG-PD | Outlook - Using Contacts | 2 | March 7th 06 05:44 PM |
Duplicated items (Calender,tasks,journal, etc) in Outlook 2003 | Thane | Outlook - Installation | 0 | February 1st 06 08:23 PM |
copy calendar items from Sharepoint to Outlook? | Rainman | Outlook - Calandaring | 0 | February 1st 06 03:04 PM |