Script to add appointment to someone else's calendar

G

Guest

I would like to use VBScript to add an appointment to someone else's Outlook
calendar. Does anyone have a sample code that can do this? Thanks in
advance!
 
D

Dmitry Streblechenko

Call Namespace.CreateRecipient, use the returned value to call
Namespace.GetSharedDefaultFolder(Recipient, olFolderCalendar), then use the
returned folder to call MAPIFolder.Items.Add.
Popultate the returned AppointmentItem object and save it.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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