搜尋此網誌

2018年11月26日 星期一

word合併列印小技巧,很實用 Word Mailmerge Tips & Tricks Mailmerge CheckBox Insertion

在合併列印時,如果要加入Check Box這種特殊字時要怎麼做呢?

參考高手的做法:

Mailmerge CheckBox Insertion
To use a mergefield to toggle the state of a checkbox, insert an IF field coded as:
{IF{MERGEFIELD CheckState}= "X" {SYMBOL 254 \f Wingdings \u } {SYMBOL 253 \f Wingdings \u }}
or:
{IF«CheckState»= "X" {SYMBOL 254 \f Wingdings \u } {SYMBOL 253 \f Wingdings \u }}
where 'CheckState' is the name of the mergefield used to determine the checkbox status and 'X' is the field value that toggles it 'checked'. 

出處:(還有很多小技巧,很實用)