Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Setting Margins in Middle of Document
I am using a Word document containing a graphic/logo at the start of
the first page only. I have some VBA code that sets the document's margins and pastes several Excel tables in the document. . . . Here is what happens: (a) When I run the macro on the Word document, the header is positioned correctly, but the borders of the pasted tables exceed the right and left margins. (b) When I manually change the margins of the Word document in Page Setup to correspond to the desired right and left margins, I get the same problem, plus the graphic gets shifted left. (c) When I use a new document without the graphic, the tables are placed perfectly. Questions: 1. Is there a way to change the margins below the graphic only, not for the entire document (i.e., not using Page Setup settings)? 2. Is there better/easier approach to managing the layout of a Word document? Thanks, Alan |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Setting Margins in Middle of Document
Position the graphic relative to the page rather than relative to the
margins. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Alan" wrote in message ... I am using a Word document containing a graphic/logo at the start of the first page only. I have some VBA code that sets the document's margins and pastes several Excel tables in the document. . . . Here is what happens: (a) When I run the macro on the Word document, the header is positioned correctly, but the borders of the pasted tables exceed the right and left margins. (b) When I manually change the margins of the Word document in Page Setup to correspond to the desired right and left margins, I get the same problem, plus the graphic gets shifted left. (c) When I use a new document without the graphic, the tables are placed perfectly. Questions: 1. Is there a way to change the margins below the graphic only, not for the entire document (i.e., not using Page Setup settings)? 2. Is there better/easier approach to managing the layout of a Word document? Thanks, Alan |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Setting Margins in Middle of Document
Suzanne,
Could you elaborate? I'm not sure how to do this. Thanks, Alan |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Setting Margins in Middle of Document
This assumes that your graphic is "wrapped" rather than In Line With Text.
On the Picture toolbar, click Format | Picture (or double-click the picture to open the dialog. On the Layout tab, choose some wrapping other than In Line With Text (if you haven't already done this) and then click Advanced. You'll see the options to set the position exactly relative to various points, including paragraph, margins, and page. If you set the position relative to the top and left of the page, no change of margins will make any difference. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Alan" wrote in message ... Suzanne, Could you elaborate? I'm not sure how to do this. Thanks, Alan |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Setting Margins | New Users | |||
Setting Margins | Microsoft Word Help | |||
HOW DO I ADD TEXT TO MARGINS EVEN IN MIDDLE OF PARAGRAPH | Page Layout | |||
Setting of Margins | New Users | |||
How do I restore my document margins to the Word default setting? | Microsoft Word Help |