View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Miles Miles is offline
external usenet poster
 
Posts: 10
Default IncludePicture in table magically becomes an image, loses field

FYI Microsoft has identified this as a bug in Word 2007 only. Supposed to be
fixed by the upcoming SP3.

"Miles" wrote:

I'm having a very strange problem in Word 2007 only, previous versions of
Word are all OK.

I start with a table containing an INCLUDEPICTURE field, works fine. If I
move the table around *sometimes*, the IncludePicture magically gets
converted into a hard-coded picture (round selection buttons at the corners,
green dot connected to top, middle of frame). Examining the Document.Fields
collection in VBA shows that the field is indeed gone -- it's now a plain
image (text wrapping still says "Inline with Text," and "More Layout Options"
doesn't work).

The problem only occurs after I move the table sometimes, not all the time.
Interestingly, the IncludePicture'd image starts out with the traditional
square selection squares at the corners, but after the magical conversion it
looks like a placed image (circular selection corners, green dot above the
middle of the box). BUT, it appears in the InlineShapes collection!

To reproduce, start with a blank page in Word 2007, place some "obstacle"
like a sample picture in the middle of the page, make sure it's a positioned
image (e.g. Text Wrapping Square) and not inline. Then, create a 1 x 1 table
at the cursor, place an { IncludePicture "c:\\mydirectory\\somepicture.jpg" }
field in the table, CtrlA, F9. Click the table to get the 4-direction arrow
at the top, left and drag the table around several times in the white space.
This will *usually* convert the IncludePicture to an image after 4 - 5 tries,
but overlapping the table significantly with the "obstacle" image is a sure
shot to convert the IncludePicture to a picture.

To make sure that I'm not converting the image to a placed image by
inadventently selecting and dragging the image itself, I've dragged the table
with the fields revealed (Alt F9) and been careful to only drag the
4-direction arrow at the top, left of the image. Needless to say, I need the
IncludePicture field to stay.

Any ideas, anyone? Also, any idea why Inline Shapes now often (but not
always) look on-screen like placed images ("Shapes," green dot above)? Thanks!