如何访问邮件合并收件人变量?

How to access the mailmerge recipient variable?

我需要访问这个值,可以吗?它存储在哪里。我需要通过 VBA 访问它(它在脚本中使用)。

这是我要接入的号码的图片。

你想要 ActiveRecord property of the MailMergeDataSource object.

示例:

' Displays currently active record.
Msgbox ThisDocument.MailMerge.DataSource.ActiveRecord