![]() |
#1
|
|||
|
|||
![]()
Hi my name is Renato Ravalli.
I'm a new member of the forum. I've got a problem with the creation of a macro in word 2013. I have to insert in a tecnical document, in different points of the document, some pictures jpeg (one or more each time) copied from a generical folder, WITH A FIXED DIMENSION (6x8 cm). Initially I had to resize every image one by one, than I created a macro wich, by pressing a button, made the resize; but it is still slow (I have to make it for every picture after the "paste") and I'm trying to make it faster. I'd like to create a macro that, when one or more jpeg are copied from a folder (ctrl+c), when I paste it (ctrl+v or a button made for this) automatically resize every jpeg copied to 6x8 cm, and also put it into 220 ppi. Thank you Sorry for my bad english |
#2
|
||||
|
||||
![]()
Renato
If you want to change the resolution of the image, it is best to modify the images BEFORE you import them into Word. Free image editing tools like IrfanView can modify a folder full of images so that they are all a fixed size and resolution. Then you won't need a macro to modify the images in Word at all. And specialised bitmap editors do a much better job of changing image resolution than Word does. Note that if the images are not already in the ratio of 6:8 (ie 3:4) then you will need to either crop or distort the image to achieve this exact size.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
||||
|
||||
![]()
A simple way of ensuring pictures have their dimensions constrained in the way you describe is to insert them into a table cell with a fixed height and width. For a macro that automates this for multiple pictures, see: https://www.msofficeforums.com/drawi...ument-all.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
![]()
thank you mery much. I followed Guessed's indications and it's good.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Fabulist | Word VBA | 4 | 01-19-2017 01:30 AM |
Auto numbering macro | desireemm1 | Word | 1 | 12-10-2015 07:50 PM |
![]() |
ineedmacrohelp | Word VBA | 1 | 08-06-2015 06:46 AM |
![]() |
Nano07 | Word VBA | 2 | 11-02-2011 05:14 AM |
VBA Code to auto resize cells when text entered | OTPM | Excel Programming | 0 | 09-18-2011 04:21 AM |