Create appointment item in shared calendar

A

Adi

Hi,

Is there a way to create and display appointment item in shared
calendar. The statement

Application.CreateItem(ItemType);

creates item in the default folder of the specified type. But I want
to create item programatically in the shared calendar of a specified
recipient and display it in the inspector window without actually
saving it.
Is there a way to do this?
 
K

Ken Slovak - [MVP - Outlook]

If you have that folder as an Outlook MAPIFolder object get its Items
collection and use the Items.Add() method to add the new appointment to that
Items collection.
 

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