提供Windows 11/10/7、Ghost镜像、驱动及常用软件下载与安装教程,并提供“装机大师”等一键重装工具 后台管理
📢 欢迎访问系统之家!所有资源均经过安全检测。

Mail merge and conditional footer

发布时间:2026-10-03 | 浏览:1
📥 下载地址(文章开头)
装机神器,安装一切系统。纯净版原版应有尽有!
I posted this question in another forum, but it might be more appropriate here. I have created a conditional footer that is supposed to only appear on the last page. I used the following code: { IF { PAGE } = { NUMPAGES } " { EMBED Word.Document.12 \s }" ""} It worked fine until I tried to utilize mail merge. Now it does not appear on the first page, but does appear on all subsequent pages. Apparently, after the merge, there a Section Break is created that seems to be the culprit. It was suggested that I try { SECTIONPAGES } but that put the footer on all pages. Thanks in advance. A family of Microsoft word processing software products for creating web, email, and print documents. Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. Sorry, I omitted some required single & double quote characters. Try:
📥 下载地址(文章中间)
装机神器,安装一切系统。纯净版原版应有尽有!
{={NUMPAGES}-{PAGE} # ";;'{ EMBED Word.Document.12 \s}'"} 3 additional answers Anonymous 2013-11-13T21:27:25+00:00 Bam! I tried the double quote. It was the single quote that was getting me. Thank you for your help. 0 comments No comments Bam! I tried the double quote. It was the single quote that was getting me. Thank you for your help. Anonymous 2013-11-13T14:01:46+00:00 Paul, I see what you are saying. However, when I try your suggestion I get a !Syntax Error, # Any thoughts? 0 comments No comments Paul, I see what you are saying. However, when I try your suggestion I get a !Syntax Error, # Paul Edstein • 82,871 Reputation points • Volunteer Moderator 2013-11-13T00:13:26+00:00 You can't use IF fields for this. They get evaluated and converted to plain text immediately the merge runs. Instead, you could use: {={NUMPAGES}-{PAGE} # ;;{ EMBED Word.Document.12 \s}} 0 comments No comments You can't use IF fields for this. They get evaluated and converted to plain text immediately the merge runs. Instead, you could use: {={NUMPAGES}-{PAGE} # ;;{ EMBED Word.Document.12 \s}}
📥 下载地址(文章结尾)
装机神器,安装一切系统。纯净版原版应有尽有!