WD:Macro to Select Envelope Return Address from AutoText EntriesLast reviewed: February 2, 1998Article ID: Q81171 |
The information in this article applies to:
SUMMARYThe Create Envelope command in Microsoft Word allows you to specify a mailing address and return address for an envelope. In certain situations, you may want to choose from several return addresses. This article includes a macro that displays AutoText entries from which you can select a return address.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/The first few lines of the macro determine how many AutoText entries you want to choose from and what their names are. You should customize the Dim Combobox1$(x) line by substituting the correct number of AutoText entries for "x," and you should insert the correct number of combobox1$(X) ="" entries for each AutoText entry that you want listed.
Word versions 6.x, 7.x
Word 2.x
REFERENCES"Using WordBasic," by WexTech Systems and Microsoft, pages 165, 174, 228 "Microsoft Word for Windows and OS/2 Technical Reference," pages 143, 150, 192
|
Additional query words: tool bar toolbar winword2
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |