Excel VBA 提取 Outlook 联系人的 "Notes" 属性

Excel VBA to extract Outlook Contact's "Notes" property

我正在尝试通过 Excel VBA 宏

从 Outlook 中转储整个 GAL

我调整了下面 link 中的代码以满足我在 excel 中的需要: Excel Dump GAL

我能够提取大部分常用字段,但我需要以下方面的帮助:

  1. 在 Outlook 中,当我们右键单击一个联系人并 select "open outlook properties",我们得到以下 window: Contact's Outlook Properties 在此 window 中有一个 "Notes" 字段,我想为用户提取该字段。 有人可以建议如何获得吗
  2. 用户有生日字段吗?

注意:由于公司安全政策,我无法安装 outlookspy。

该屏幕截图中的注释编辑框绑定到 PR_COMMENT_W 属性(DASL 名称 http://schemas.microsoft.com/mapi/proptag/0x3004001F)。它应该通过 AddressEntry.PropertyAccessor.GetProperty 方法访问。 ExchangeUser.Notes 应该也能正常工作。