

To use this macro, first select the address you want used on the envelope. With Application.Dialogs(wdDialogToolsCreateEnvelope) ReturnAddressFromTop = CentimetersToPoints(2) ReturnAddressFromLeft = CentimetersToPoints(2)

AddressFromLeft = CentimetersToPoints(5) The macro copies the address to the Clipboard, pastes it at the proper place in a new document based on the Envelope template, prints the envelope, and then closes the envelope document without saving it.Ī different approach is to use a macro to set the standard (meaning, those you want to use most often) envelope settings for you. To print an envelope, highlight the address in a letter then click on the Quick Access Toolbar button with which this macro is associated. Selection.PasteSpecial DataType:=wdPasteTextĪpplication.PrintOut Range:=wdPrintCurrentPage Selection.MoveLeft Unit:=wdCharacter, Count:=2 Then, create the following macro and assign it to the Quick Access Toolbar:ĭocuments.Add Template:="Envelope", NewTemplate:=False Add this envelope to the blank document, and then save it as a template using a descriptive name (such as Envelope.dot). For instance, you can start with a new, blank document, and create an envelope that is just the way you want it to be. You can also use a solution that uses a macro to create your envelopes. Now, the next time you use a document based on the Normal style, the envelope settings will reflect those you created in these steps. Save the template by clicking on the Save tool or by choosing Save from the File menu.The envelope is removed from your document. This selects all the envelope information that was just added to your document by Word. This inserts an envelope in your template (which you have open, remember?). Click on OK to close the Envelope Options dialog box.In the appropriate fields, change the positioning of the addresses, as desired.Make sure the Envelope Options tab is selected.

Word displays the Envelope Options dialog box. The Envelopes tab of the Envelopes and Labels dialog box. Word displays the Envelopes and Labels dialog box, with the Envelopes tab selected.
