Hello All -
I've searched around and haven't found what I'm looking for. I'm working on a project to create an input form for a rather complicated Word template containing many table cells. One of things I'd like to be able to do is to add a picture as a watermark over a group of cells.
I can do the following by hand, but am not able to figure out how to so it using VBA.
INSERT -> Picture -> From File - (select picture) - double click on picture to get the Format Picture Dialog -> Picture Tab - select "washout" - Layout Tab - select "behind text" - close dialog - drag picture to correct location and size.
What I've tried so far....
This is the ONLY way I've been able to insert a picture at the correct location and size. BUT, I can't manipulate it at all. I've tried to convert to an inline shape, but that doesn't seem to help. I've tried every combination of things I can find in the VBA help files/examples, but I'm not having any luck.
Anyone know the secret?
Any help is GREATLY appreciated.
Tom
I've searched around and haven't found what I'm looking for. I'm working on a project to create an input form for a rather complicated Word template containing many table cells. One of things I'd like to be able to do is to add a picture as a watermark over a group of cells.
I can do the following by hand, but am not able to figure out how to so it using VBA.
INSERT -> Picture -> From File - (select picture) - double click on picture to get the Format Picture Dialog -> Picture Tab - select "washout" - Layout Tab - select "behind text" - close dialog - drag picture to correct location and size.
What I've tried so far....
Code:
ActiveDocument.Shapes.AddShape(msoShapeRectangle, 12, 141, 120, 200).Fill _
.UserPicture "C:\Documents and Settings\xxx.jpg"
This is the ONLY way I've been able to insert a picture at the correct location and size. BUT, I can't manipulate it at all. I've tried to convert to an inline shape, but that doesn't seem to help. I've tried every combination of things I can find in the VBA help files/examples, but I'm not having any luck.
Anyone know the secret?
Any help is GREATLY appreciated.
Tom