I've read through a lot of threads on various forums about this but I can't seem to find one that specifically addresses this.
In Outlook Calendar from "Home" ribbon, when I "Open Calendar" and "From Room List", I can search for a meeting room and add it to my calendar, I can do it in two ways: either it will make a new group named "Rooms", or it can be added under "My Calendars" default, where the room will appear under "Calendar". It will be listed as "Some Room Name" and as "From Microsoft Exchange"
My question is, how do I access these appointments in VBA?
Using various code that's commonly available, I can access all appointments on my own calendar. But I can't figure out the VBA object "path" in order to get these room appointments.
This is how I'm accessing all my own calendar appointments (and I'm adding a date restriction as well), and it works fine, but I can't get the room appointments:
Set oCalendar = app.Session.GetDefaultFolder(olFolderCalendar)
Set oItems = oCalendar.Items
Please let me know if further information is required, and thank you very much in advance for any help!
In Outlook Calendar from "Home" ribbon, when I "Open Calendar" and "From Room List", I can search for a meeting room and add it to my calendar, I can do it in two ways: either it will make a new group named "Rooms", or it can be added under "My Calendars" default, where the room will appear under "Calendar". It will be listed as "Some Room Name" and as "From Microsoft Exchange"
My question is, how do I access these appointments in VBA?
Using various code that's commonly available, I can access all appointments on my own calendar. But I can't figure out the VBA object "path" in order to get these room appointments.
This is how I'm accessing all my own calendar appointments (and I'm adding a date restriction as well), and it works fine, but I can't get the room appointments:
Set oCalendar = app.Session.GetDefaultFolder(olFolderCalendar)
Set oItems = oCalendar.Items
Please let me know if further information is required, and thank you very much in advance for any help!