Thread: Missing updates
View Single Post
  #7  
Old December 20th 06, 04:40 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Missing updates

The Item.Copy function will always copy the item to the source folder of the
item. You can set up a flag that's set when you copy the item so you ignore
the next change event.

If you're using a lower level API such as CDO 1.21 or Redemption you can use
Message.CopyTo (CDO) or Safe*Item.CopyTo or RDOMail.CopyTo (both from
Redemption) to avoid the copy to the source folder.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"boh" wrote in message
...
Hi Ken

I did as you said. When all my macro is comment out, I get debug prints as
wanted. I can see I’m doing some mistake when moving an item around. I
want
to copy the item which is argument to ItemChange to the public folder,
then
change some objects and save the appointment in the public folder but I
can’t
figure out how to do. My copy stores in my local folder which means I get
another ItemAdd event. Please HELP.

boh


Ads