pasting objects with a predefined scale

  • Thread starter Thread starter setting vertical space between lines
  • Start date Start date
S

setting vertical space between lines

Hello there
Does anyone know how can I set a particular scale in word so that when I
paste several objects in a row like images from the clipboard, all of them
have this same scale by default?
Thanks in advance
 
Insert the images into table cells of fixed width. Word will import images
to fit the current margins, unless the image is smaller than the current
margins. If you want to set a specific width you can select the inline image
and run the following macro to set the size to (here) 4.445cm/1.75"

With Selection.InlineShapes(1)
.LockAspectRatio = True
.Height = CentimetersToPoints(4.445)
'or use InchesToPoints
'.Height = InchesToPoints(1.75)
End With

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thanks Graham
But Would not there be a way that avoids using those table cells?
I mean, for instance, now if I open a new MS Word document, when I press the
print screen button and I paste that image into word, I can see that the
scale of the new image pasted equals 45% by default. How could I change that
by default percentage in order to make it let's say 70%?
Thanks in advance
 
If the image is inserted at 45% then that's the size it needs to be to fit
between the margins at the insertion point. If you make it 70% it will
overlap the margins. Or do you want it to be 75% of the 45% sized image? Use
the macro I posted to insert at the actual size you require.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
To add to what Graham has said, images inserted/pasted into Word always come
in at 100% if possible. If your default wrapping is In Line With Text, and
the 100% size will not fit between the margins, then the size will be
reduced to fit. If the default wrapping is anything other than inline, the
picture will be inserted at 100%, which may be larger than the page.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"setting vertical space between lines"
 
@Graham:

You are a GENIUS! :bow:

I used your macro in MS Word (2010) but made a few small tweaks based on what I needed and voila! Image resized- width and height! Here it is:

With Selection.InlineShapes(1)
.LockAspectRatio = True
.Height = CentimetersToPoints(6.5)
.Width = CentimetersToPoints(12)
End With

All I have to do is paste my image (or multiple images) then click on the image, run the macro, and it's done! It's kind of annoying and frustrating that MS Word doesn't allow you to set a default scale yourself but hey, this works perfectly!

Many thanks to you...you made my day! :thumb:
 
Last edited:
Back
Top