Word:您可以将MergeFields从原始文档传递到嵌入式文档吗? [英] Word: Can you pass MergeFields from Original Document to Embedded Document?

查看:82
本文介绍了Word:您可以将MergeFields从原始文档传递到嵌入式文档吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一种方法可以使嵌入式Word文档具有对主文档的MergeField的访问权限.我们从事房地产业务,通常通常使用MEGADOCS是一个巨大的Word文件,其中包含多个文档.更改文档很麻烦,因为必须针对业务所在的不同州在所有文档中都进行更改.我试图探索使用嵌入式文档的方式,使我一次可以进行更改并将其传播到所有文档包含该嵌入式文档.但是,它具有MergeFields,当从我们的软件运行Main文档时,需要对其进行更新.

I'm wondering if there is a way to get Embedded Word Documents to have access to the Main Document's MergeFields. We are in the Real Estate Business and Typically use MEGADOCS basically a huge word file that has multiple documents. It's a hassle making changes to the documents since it has to be changed in all our documents for the different states we do business in. I was trying to explore using Embedded documents that way I can make the change once and it propagate to all the documents that contain that embedded document. However it has MergeFields in it that needs to be updated when the Main document gets ran from our software.

我尝试执行的当前方法是"INSERT/Object/Object ...",并选中链接到文件"标志,从文件创建.但是,这只是简单地将看似实际文档的图像而不是实际文档本身放入图像(并且尚未处理合并字段).

Current way I've tried doing it is "INSERT/Object/Object..." Create from File with the Link to File flag checked. However this simply puts what appears to be an image of the actual document not the actual document itself (and the mergefields haven't been processed).

任何帮助将不胜感激.

这是我尝试使用MergeData在主文档中运行Embedded文档时得到的图像.

Here is a image of what I get when I try running the Embedded document in the main document with MergeData.

推荐答案

邮件合并主文档中嵌入的文档中的邮件合并字段不会被邮件合并处理.但是,通过INCLUDTETEXT字段链接的文档中的邮件合并字段,例如Word,当您使用文件中的Insert | Object>文本"时,通过链接到文件"选项 会生成邮件;唯一的条件是链接文档本身不是mailmerge主文档,并且它使用的字段出现在父mailmerge主文档使用的数据源中.

Mailmerge fields in a document embedded in a mailmerge main document will not be processed by a mailmerge. However, mailmerge fields in a document linked via an INCLUDTETEXT field, such as Word generates when you use Insert|Object>Text from File, with the Link to File option will be processed by a mailmerge; the only provisos being that the linked document is not itself a mailmerge main document and that the fields it employs appear in the data source used by the parent mailmerge main document.

这篇关于Word:您可以将MergeFields从原始文档传递到嵌入式文档吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆