How to get appointments of another users and their names?

P

poiqwery

Hi,

I made a VBA code that picks up appointments from my Outlook (2003) calendar
and writes them (date, time, subject, location, my user name) in columns of
an html table.

How could I get also appointments of my workmates and their names to the
same table? We have shared our calendars and we are in the same distribution
list. Which methods, properties and events would be the most useful to open
and read calendars of workmates and get the names of calendar owner? Would
it be easier to use distribution list or write the names into the code?

Thanks,
 
K

Ken Slovak - [MVP - Outlook]

Use the NameSpace.GetSharedDefaultFolder() function to get the calendar
folders of those workers and then get the appointments the same way you do
with your own calendar. You won't get private appointments unless those are
shared.

I'd go with names, DL's are not real robust in my opinion.
 

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