Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Page Layout / November 2007

Tip: Looking for answers? Try searching our database.

Insert pictures in completed document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
oe - 19 Nov 2007 16:38 GMT
I have to create text documents and then insert photographs at various
positions - lined up with the left or right margins within the various
paragraphs. No matter how I insert the pictures, I can't get them to stay
where I want them or to be the size I need them.

Would it be possible to use frames for this rather than just "insert picture
from file"? I have tried this but the picture never fits into the frame.

Any ideas would be appreciated.

TIA
Doug Robbins - Word MVP - 19 Nov 2007 19:27 GMT
Insert a one cell table of the required dimensions at the locations where
you want the picture to appear and then insert the picture into that cell.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I have to create text documents and then insert photographs at various
>positions - lined up with the left or right margins within the various
[quoted text clipped - 8 lines]
>
> TIA
oe - 20 Nov 2007 15:38 GMT
Thanks, Doug, I have tried that but even when I make the cell height an
exact measurement, the photograph is not resized to fit. Also, when I insert
the table cell into the text, the text does not wrap around the picture in
the cell.
I am obviously missing something here!

> Insert a one cell table of the required dimensions at the locations where
> you want the picture to appear and then insert the picture into that cell.
[quoted text clipped - 11 lines]
>>
>> TIA
oe - 21 Nov 2007 15:58 GMT
I  have been trying various things and 'googling' help for photos in
paragraphs but have not cracked this one yet. Any help would be much
appreciated.

> Thanks, Doug, I have tried that but even when I make the cell height an
> exact measurement, the photograph is not resized to fit. Also, when I
[quoted text clipped - 18 lines]
>>>
>>> TIA
oe - 27 Nov 2007 16:34 GMT
Since asking the question, I have done quite a bit of experimenting but
still have not come up with a solution. I would Really appreciate some help,

TIV

>I  have been trying various things and 'googling' help for photos in
>paragraphs but have not cracked this one yet. Any help would be much
[quoted text clipped - 22 lines]
>>>>
>>>> TIA
Doug Robbins - Word MVP - 27 Nov 2007 19:08 GMT
In the table properties dialog, you can set the text wrapping for the table.
As far as sizing the picture is concerned, to do it "automatically", you
would need a macro and the following may help:

'Insert Logo on Title Page
       myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.Delete
       myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes.AddPicture _ Filename:=txtLargeLogoPath
'Adjust size of logo to match the avalable space
       oheight =
myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes(1).Height
       owidth =
myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes(1).Width
           If oheight < InchesToPoints(2) Then
               With
myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes(1)
                   .Height = InchesToPoints(2)
                   .Width = owidth * InchesToPoints(2) / oheight
               End With
           End If
       oheight =
myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes(1).Height
       owidth =
myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes(1).Width
           If owidth > InchesToPoints(2.85) Then
               With
myDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Tables(1).Cell(1,
1).Range.InlineShapes(1)
                   .Width = InchesToPoints(2.85)
                   .Height = oheight * InchesToPoints(2.85) / owidth
               End With
           End If

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Thanks, Doug, I have tried that but even when I make the cell height an
> exact measurement, the photograph is not resized to fit. Also, when I
[quoted text clipped - 18 lines]
>>>
>>> TIA
oe - 29 Nov 2007 16:26 GMT
Thanks - I will try that.

> In the table properties dialog, you can set the text wrapping for the
> table. As far as sizing the picture is concerned, to do it
[quoted text clipped - 59 lines]
>>>>
>>>> TIA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.