Document Object Margins Default to 0 (Zero) InchesLast reviewed: February 5, 1998Article ID: Q105714 |
The information in this article applies to:
SYMPTOMSWhen you choose Object from the Insert menu and choose the object type labeled "Microsoft Word Document" or "Word Document," Word opens up a document window with margins of 0 (zero) inches on all sides.
CAUSEWord sets the margins at 0 inches in a document object so your document does not contain excessive white space around the object due to the combination of two sets of margin settings.
Word for Windows 6.xIf you want specific margins for all document objects, use an .INI switch to designate a particular template to be used when word spawns a document object. The .INI switch oledot=c:\winword6\template\<favorite.dot> must be added in the [Microsoft Word] section of the WINWORD6.INI, where <favorite.dot> is the name of any existing template. This allows the created document object to take on the characteristics, including margins, of the specified template. Example of the WINWORD6.INI entry:
[Microsoft Word] oledot=c:\winword6\template\faxcovr1.dot Word for Windows95, version 7.0If you want specific margins for all document objects, use the oledot setting in the Registry to designate a particular template to be used when Word spawns a document object. Oledot=C:\Msoffice\templates\<favorite.dot> must be added to the Registry using the RegOptions macro in the Macro7.dot template located in the C:\Msoffice\Winword\Macros folder.Steps to use: 1. Open the file Macro7.dot in the Msoffice\Winword\Macros folder 2. Choose Macro in the Tools menu 3. Select the RegOptions macro and click on run 4. Click the Option drop-down menu and select OLEDOT 5. Enter the new template path and filename in the Setting section, click the change button, and click on OK MORE INFORMATIONNote: The margins indicated in the template will be added to the margins set for the document into which the document object is placed. For example, if the document has a left and right margin of 1.25 inches, and the designated template for the inserted object has left and right margins of 1 inch, the resulting document will reflect 2.25-inch left and right margins where the document object is located. Additionally, if you want to set custom margins for individual document objects, you can set the margins when in the document object editing window in the same way that you set margins for a standard Word 6.0 document.
REFERENCES"Microsoft Word User's Guide," version 6.0, pages 231-233, 586
|
KBCategory: kbole kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |