一个代表“MailMergeField”对象的变量。备注如果对象是在 Microsoft Word 中创建的, 则Creator 属性返回十六进制数字 4D535744,表示字符串“MSWD”。此属性主要用于 Macintosh,其中每个应用程序都有一个四个字符的创建者代码。 例如,Microsoft Word 提供了 MSWD 的创建者代码。 有关此属性的其他信息,请参阅语言参考...
DimrngTempasRangeSetrngTemp = ActiveDocument.Range(Start:=0,End:=0) ActiveDocument.MailMerge.Fields.AddSet Range:=rngTemp, _ Name:="Name", ValueText:="Joe Smith"Selection.Collapse Direction:=wdCollapseEnd ActiveDocument.Fields.Add Range:=Selection.Range, _ Type:=wdFieldRef,Text:="Name" ...
ActiveDocument.MailMerge.Fields.Add Range:=Selection.Range, _ Name:="MiddleInitial" MailMergeFields 集合有其他方法,例如 AddAsk 和AddFillIn、 新增與合併列印作業相關的欄位。請參閱Word 物件模型參考資料支援和意見反應有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關...
Describes an issue that oocurs in which you cannot edit a merge field in a table cell in Word. A workaround is provided.
將一個 fillin 功能變數新增至合併列印主文件。傳回MailMergeField物件。 AddIf 如果將欄位加入至合併列印主文件。傳回MailMergeField物件。 AddMergeRec 將mergerec 功能變數新增至合併列印主文件。傳回MailMergeField物件。 AddMergeSeq Adds a MERGESEQ field to a mail merge main document. Returns aMailMerge...
The Mail Merge Helper dialog box appears. Under1. Main document, click Create, and then click Mailing Labels. Click Active Window. The active document becomes the Mail Merge main document. Word returns to the Mail Merge Helper. Step 2: Data Source ...
Microsoft.Office.Interop.Word.dll Returns the next object in the collection. C# publicMicrosoft.Office.Interop.Word.MailMergeField Next {get; } Property Value MailMergeField Applies to 產品版本 Word primary interop assemblyLatest 意見反應 此頁面對您有幫助嗎?
Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 确定合并字段名称是否显示在邮件合并main文档中。 C# publicintViewMailMergeFieldCodes {get;set; } 属性值 Int32 注解 如果合并字段名称显示在邮件合并main文档中,则此属性返回True;如果显示当前数据记录中的信息,则返回False。
{ MERGEREC } Note:A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9. ...
{ MERGEREC } Note:A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9. ...