Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 GAL 中搜索特定用户(例如 Clinton、Bill)并在 Excel 中获取所有信息,例如电子邮件地址、电话、街道等。
我如何在 VBA 中做到这一点?
调用Application.Session.CreateRecipient将名称作为字符串传递,然后调用Recipient.Resolve返回的Recipient对象。使用该Recipient.AddressEntry属性(例如,您可以调用AddressEntry.GetExchangeUser)。
Application.Session.CreateRecipient
Recipient.Resolve
Recipient
Recipient.AddressEntry
AddressEntry.GetExchangeUser