WD: How to Format Margins Within a Table Cell or LabelLast reviewed: February 5, 1998Article ID: Q142966 |
The information in this article applies to:
SUMMARYIn Word, you can use the Page Setup dialog box to position text on a single page, in a column, or in the whole document. However, to position text within a label, each label or cell "margin" can be adjusted by setting left and right indents and spacing before and after the text. This article assumes you have already created a label sheet and saved it as a template. For additional information on creating custom labels in Word, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q142965 TITLE : How to Create and Save Custom Labels in Word MORE INFORMATIONIn these instructions, "cell" refers to the label on the label sheet and "table" refers to the label sheet itself.
Positioning Text Within a Single CellThe following steps explain how to position text in a single cell in a table:
Positioning Text Within Every CellThe following steps explain how to position text within every cell of the whole table:
To copy this cell's formatting to the remaining cells of the table, see the next section entitled "Copying Cell Formatting".
Copying Cell FormattingMicrosoft 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 following macro copies the formatting of the first cell to the remaining cells in the table. Position the insertion point in the first cell of the table. On the Tools menu, choose Macro. Give the macro a name. Under Macros Available In, select your template name, and then click Create. Type the macro code as follows:
Sub Main CharRight 1, 1 CopyFormat TableSelectTable PasteFormat End SubOn the File menu, click Close and click Yes to save the changes to the template.
Running the Macro
'First Line of Label' style. At this point, you can either use the documentand type your addresses, or you can save the document as another template if this formatting will be used again in the future.
|
Additional query words: formatting space spacing layout
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |