复制内容控件 [英] Copy content control

查看:60
本文介绍了复制内容控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了很长时间来获取列表内容控件来复制您所做的选择并将其放在文档的页眉中。在回答几周后搜索,我认为最好写一个问题。



我想要的是:



我创建了一个Word模板,作为我的同事在报告时可以填写的表格。



大部分文字准备就绪并且他们只需要填写可用的字段。



可用的一个字段/内容控件是本报告适用的办公室。该内容控件使用列表。我想在列表中选择办公室时,内容控件中给出的值也会自动在标题中更新。所以,比如下面的
图片。



你可以在这个链接上看到一张图片:http://psimedia.se/images/91acb1a0-9e9f- 408e-9644-8d60660f3ba1.PNG



如果我对此有所帮助,将不胜感激!
b
$
Simon Lundgren

解决方案

实现您想要的最简单的方法 - 并且不需要任何宏编码 - 是将唯一的样式名称应用于内容所涵盖的范围控制,然后将STYLEREF字段插入标题,引用该样式。请参阅:

https://support.office.com/en-us/article/Field-codes-StyleRef-field-4ad557c2-c8ab-48ba-8fe3-901d0a5775d0

Hi, I have tried for long to get a list content control to copy the choice you make and place it in the pageheader of the document. After searching for several weeks after the answer, I thought it might be best to write a question.

What I want is:

I create a Word Template that serves as a form that my colleagues can fill in when making a report.

Much of the text is ready and they only need to fill in the fields that are available.

One field / content control available is the office to which this report applies. That content control uses a list. I want when choosing an office in the list, the value given in the content control is also updated in the header automatically. So, like the picture below.

You can see an image at this link: http://psimedia.se/images/91acb1a0-9e9f-408e-9644-8d60660f3ba1.PNG

Would be grateful if I got help with this!

Simon Lundgren

解决方案

The simplest way to achieve what you want - and doesn't require any macro coding - is to apply a unique Style name to the range spanned by the content control, then insert a STYLEREF field into the header, referring that Style. See:
https://support.office.com/en-us/article/Field-codes-StyleRef-field-4ad557c2-c8ab-48ba-8fe3-901d0a5775d0


这篇关于复制内容控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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