VBAsearchOutlook GAL中的特定用户

我想在GAL中search特定的用户(例如克林顿,比尔),并在Excel中获取所有信息,如电子邮件地址,电话,街道等。

我如何在VBA中做到这一点?

调用Application.Session.CreateRecipient以stringforms传递名称,然后在返回的Recipient对象上调用Recipient.Resolve 。 使用Recipient.AddressEntry属性(例如,您可以调用AddressEntry.GetExchangeUser )。

Interesting Posts