Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Alan[_6_] Alan[_6_] is offline
external usenet poster
 
Posts: 23
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Alan[_6_] Alan[_6_] is offline
external usenet poster
 
Posts: 23
Default Setting Margins in Middle of Document

Suzanne,

Could you elaborate? I'm not sure how to do this.

Thanks, Alan

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Margins LMM New Users 3 March 12th 09 03:56 PM
Setting Margins Tina Microsoft Word Help 5 April 3rd 08 11:37 PM
HOW DO I ADD TEXT TO MARGINS EVEN IN MIDDLE OF PARAGRAPH AYJ Page Layout 1 July 22nd 07 09:53 PM
Setting of Margins Don[_2_] New Users 3 April 25th 07 02:56 PM
How do I restore my document margins to the Word default setting? AMS Microsoft Word Help 1 June 7th 05 04:31 PM


All times are GMT +1. The time now is 01:16 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"