Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Dec 2013
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Insert Picture in Word - Predefine Size

    I would like to be able to add photos into a word form document however the number of photos will vary between jobs. I have found a code from another post: http://www.mrexcel.com/forum/general...file-word.html
    which allows you to enter the number of photos required to enter and then that opens the Insert Picture window. What i need to try and add is to set each picture to a predefined size. Can anyone advise if this can be added in the code?

  2. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts
    As I said in your other thread, if you create a table cell with a fixed row height and column width, any picture inserted into that cell will have its dimensions constrained to the cell's size. Aspect ratios are maintained. That way you never need to code for working out the size of the destination or use fixed dimensions.
    Cheers,

    Paul Edstein
    [MS MVP - Word]

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •