简体   繁体   中英

Migrating to Office365 - Accessing Outlook folders via Access VBA

Our organization is migrating to Office 365. Currently we have an MS Access tool which is extracting public folder calendar data using a vba code shown below. Is there any changes to the code, if it is in O365 environment?

Set myns = ol.GetNamespace("MAPI")
Set mycal = myns.GetDefaultFolder(olPublicFoldersAllPublicFolders).Folders("foldername").Folders("subfoldername")

Any help on this is greatly appreciated.

它将起作用 - 您无需进行任何更改。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM