(Solved) – Problem with GetSharedDefaultFolder in VBA

(solved)-–-problem-with-getshareddefaultfolder-in-vba

I want to code a macro that checks appointments in shared calendards of my coworkers.

Here’s is my code:

        Set oCalendar = Application.Session.GetSharedDefaultFolder(MyRecipient, olFolderCalendar)
        Set oItems = oCalendar.Items

However, this works only for collegues which shared their calendars with ALL details, I cannot check calendars of colleagues that only shared start/end, topic of the meeting, room (most common method).

Is there a command similar to GetSharedDefaultFolder or do I have to adjust something in this code?

Thanks and best regards,

Niels

Leave a Reply

Your email address will not be published. Required fields are marked *