我試圖將目錄中的郵件合併工作作爲源來幫助我對當前模板中的記錄進行分類。在一個頁面上對MailMerge進行分類 - 目錄/目錄
我使用這個字段代碼:{QUOTE{IF{MERGESEQ}=1{SET Key ""}}"{IF{MERGEFIELD Description}<> {KEY}"{IF{MERGESEQ}>1" "} Values for {MERGEFIELD Description}{SET Key{MERGEFIELD Description}} Input "}{MERGEFIELD ColDesc} "}
現在輸出我得到的是精細新新的文件,但是當我嘗試這個代碼與現有的模板,它輸出的每個記錄的文件就可以了合併。
我想什麼有是一種在一個頁面上此輸出:
Details for the record selected from the file provided:
Values for 'Subjects'
Input
Study ID
Class ID
Subject Name
Student ID
Values for 'Visits'
Input
Visit ID
Visit date
Room No.
Summary
etc.....
但我的輸出如下內容:
Details for the record selected from the file provided:
Values for 'Subjects'
Input
Study ID
Class ID
Subject Name
Student ID
Details for the record selected from the file provided:
Values for 'Visits'
Input
Visit ID
Visit date
Room No.
Summary
所有的建議表示讚賞。
最佳
我同意默認情況下,郵件合併使用目錄告訴單詞重複工作表中的所有內容。 ref:http://lis.dickinson.edu/technology/training/Tutorials/ms2007/word/word_directory_merge.pdf 但我想要輸出我的方式。 – A1aks