The samples at
http://www.outlookcode.com/article.aspx?ID=23 should get you started. As for replacing existing appointments, you'll have to decide what criteria define a duplicate and use those in a MAPIFolder.Items.Find search.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Dave L" wrote in message ...
I have a .csv file that gets generated each day that i want to import into a
shared calendar on the network (not my default calendar). How do i write a
macro that will import the calendar to the shared calendar and map the
fields? It would also need to replace existing appoinments instead of adding
duplicates. The .csv will always have the same name, location and layout. Any
ideas would be appreciated.