Hi =?Utf-8?B?TWlrZQ==?=,
> I get over 1000 documents each day that I need to put into a newsletter.
> Some of these documents have pictures, charts and graphs embedded.
[quoted text clipped - 8 lines]
> position it where the picture used to be.
>
Why not just change the Shape's properties to move with the text? See the
RelativeVerticalPosition property in the object model help.
> I created a file to illustrate my problem.
> It can be downloaded at http://www.freefilehosting.net/?id=q939laXe
[quoted text clipped - 51 lines]
> End If
> Next
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply in
the newsgroup and not by e-mail :-)
Mike - 06 Feb 2006 21:34 GMT
Hi! Thank you for taking a look. If you unzip the test document you may see
that the picture has been configured to move with the text, yet it does not
move. Also, since my documents are complex, setting Move with Text property
causes other layout problems. I figured that if I place a table in the exact
location of the picture and then copy the picture into the table I can solve
all my formatting issues as tables seem to stay where they are and they move
properly.
Am I on the right track? What would you advise?
BTW, I am also grateful for your taking a look at my InsertFile() post
earlier.
Many thanks in advance,
--Michael
> Hi =?Utf-8?B?TWlrZQ==?=,
>
[quoted text clipped - 76 lines]
> This reply is posted in the Newsgroup; please post any follow question or reply in
> the newsgroup and not by e-mail :-)
Cindy M -WordMVP- - 08 Feb 2006 14:39 GMT
Hi =?Utf-8?B?TWlrZQ==?=,
> If you unzip the test document you may see
> that the picture has been configured to move with the text, yet it does not
[quoted text clipped - 3 lines]
> all my formatting issues as tables seem to stay where they are and they move
> properly.
As a general rule, I won't open files (unless I'm being paid to).
If you say the property is activated, I'll take your word for it .-)
However, I know of no *reliable* way to make sure a table is going to be in
exactly the same position as the graphic is/was. That said, using the macro
recorder to pick up the commands used to freely position the table on the page
yields:
With tbl.Rows
.WrapAroundText = True
.HorizontalPosition = wdTableLeft
.RelativeHorizontalPosition = wdRelativeHorizontalPositionPage
.DistanceLeft = CentimetersToPoints(0.32)
.DistanceRight = CentimetersToPoints(0.32)
.VerticalPosition = CentimetersToPoints(0)
.RelativeVerticalPosition = wdRelativeVerticalPositionParagraph
.DistanceTop = CentimetersToPoints(0)
.DistanceBottom = CentimetersToPoints(0)
.AllowOverlap = False
End With
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)