Start a new document to create a new label, or open an existing document that was used previously to merge labels. Open the document in Word. On the Tools menu, click Mail Merge. The Mail Merge Helper dialog box appears. Under1. Main document, click Create, and...
SubLabelOps()IfActiveDocument.MailMerge _ .MainDocumentType = wdMailingLabelsThenApplication.MailingLabel.LabelOptionsEndIfEndSub 另請參閱 MailingLabel 物件 支援和意見反應 有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱Office VBA 支援與意見反應。
Sub VerticalLabel() If ActiveDocument.MailMerge.MainDocumentType = wdMailingLabels And Application.Language = msoLanguageIDJapanese Then Application.MailingLabel.Vertical = True End If End Sub 另请参阅高度的对象支持和反馈有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有...
I have created a set of mailing labels using Word mail merge. I selected the option of 30 per page with 1" by 2.63" dimensions per label. When I...
("Word.Application")SetoDoc = oApp.Documents.AddWithoDoc.MailMerge'Insert the mail merge fields temporarily so that'you can use the range that contains the merge fields as a layout'for your labels -- to use this as a layout, you can add it'as an AutoText...
With your address list set up in an Excel spreadsheet you can use mail merge in Word to create mailing labels. Make sure your data is mistake free and uniformly formatted. We will use a wizard menu to print your labels. Go toMailings>Start Mail Merge>Step-by-Step Mail Merge W...
表达式是必需的。 一个代表“MailingLabel”对象的变量。示例以下示例确定活动文档是否为邮件合并邮件标签文档,并确定其语言设置是否为日语。如果是,则设置邮件标签的方向为纵向。VB 复制 Sub VerticalLabel() If ActiveDocument.MailMerge.MainDocumentType = wdMailingLabels And Application.Language = msoLanguageID...
Assembly: Microsoft.Office.Interop.Word.dll Displays the Label Options dialog box. C# 複製 public void LabelOptions (); Remarks The LabelOptions method works only if the document is the main document of a mailing labels mail merge. Applies to 產品版本 Word primary interop assembly Latest 意見...
With your address list set up in an Excel spreadsheet you can use mail merge in Word to create mailing labels. Make sure your data is mistake free and uniformly formatted.We will use a wizard menu to print your labels. Go to Mailings > Start Mail Merge > Step-by-Step M...
Use Access to create and print labels Print Access data by using the Mail Merge Wizard in Microsoft Word Use Access to create and print labels In Access, you create labels as a report that is formatted with a small page size to fit the desired label. The most common use of label...