WD: How to Format Margins Within a Table Cell or Label

Article translations Article translations
Article ID: 142966 - View products that this article applies to.
This article was previously published under Q142966
Expand all | Collapse all

On This Page

SUMMARY

In 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:
142965 How to Create and Save Custom Labels in Word

MORE INFORMATION

In these instructions, "cell" refers to the label on the label sheet and "table" refers to the label sheet itself.

Positioning Text Within a Single Cell

The following steps explain how to position text in a single cell in a table:

  1. Create a new document based on your label template.

    For additional information, please see the following article(s) in the Microsoft Knowledge Base:
    142965 How to Create and Save Custom Labels in Word
  2. Position the insertion point in the first paragraph of the first cell.
  3. Type the first line of address text.
  4. On the Format menu, click Paragraph.
  5. Under Indentation Left, type (in inches) the desired distance from the left edge of the cell to the first word. If desired, type a measurement for the right edge of the cell; this is usually not required.
  6. Under Spacing Before, type (in inches or points) the desired distance from the top edge of the cell to the first line of text.
  7. Click OK, and then press ENTER.
  8. To remove the spacing before on the second paragraph, click Paragraph on the Format menu. Under Spacing Before, change the value to 0 pt.

    NOTE: Spacing Before should only be applied to the first line of the cell so that no spacing appears between the lines of the address.
  9. Type the remaining lines of the address.

Positioning Text Within Every Cell

The following steps explain how to position text within every cell of the whole table:

  1. Create a new document based on your label template, turn on paragraph marks, and position the insertion point in the first paragraph of the first cell.
  2. On the Format menu, point to Style, and click New.
  3. In the Name box, type Rest of Label. For Style For Following Paragraph, select the "Rest of Label" style.
  4. Click Format, and then select Paragraph from the list.
  5. Under Indentation Left, type (in inches) the desired distance from the left edge of the cell to the first word of the address. Click OK.

    NOTE: If you plan to use these styles in other label documents, select the "Add To Template" check box. This new style will be available for use in any other document based on the current template.
  6. Click OK.
  7. Click New, and type the name First Line of Label. For Style for Following Paragraph, select the "Rest of Label" style.
  8. Click Format, and then select Paragraph from the list.
  9. Under Indentation Left, type (in inches) the desired distance from the left edge of the cell to the first word of the address. Under Spacing Before, type (in inches or points) the desired distance from the top edge of the cell to the first line of text. Click OK.
  10. If desired, select the Add To Template check box. See NOTE above.
  11. Click OK then click Apply.
The first paragraph of the cell should now be formatted with the 'First Line of Label' style. Once you begin to type the address information, the remaining address lines will be formatted with the 'Rest of Label' style.

To copy this cell's formatting to the remaining cells of the table, see the next section entitled "Copying Cell Formatting".

Copying Cell Formatting

Microsoft 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 professionals 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 a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites:

Microsoft Certified Partners - https://partner.microsoft.com/global/30000104

Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS 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 Sub
				
On the File menu, click Close and click Yes to save the changes to the template.

Running the Macro

  1. Position the insertion point in the first paragraph of the first cell.
  2. On the Tools menu, click Macro.
  3. Select the macro name, and then click Run.
Once the macro has been run, each cell should now be formatted with the 'First Line of Label' style. At this point, you can either use the document and type your addresses, or you can save the document as another template if this formatting will be used again in the future.

Properties

Article ID: 142966 - Last Review: November 23, 2006 - Revision: 2.3
APPLIES TO
  • Microsoft Word 6.0 for Macintosh
  • Microsoft Word 6.01 for Macintosh
  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c
  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 95 Standard Edition
Keywords: 
kbhowto kblayout KB142966
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com