Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
col col is offline
external usenet poster
 
Posts: 4
Default using drawing objects in word

I have copied some screen shots into word as drawings on o approx 200 pages
..need to resize all the drawings is there a way to resize all 200 pages in
one go
  #2   Report Post  
Posted to microsoft.public.word.newusers
Lene Fredborg Lene Fredborg is offline
external usenet poster
 
Posts: 1,291
Default using drawing objects in word

Since I assume that your pictures are not the same size, my guess is that you
want to scale the pictures to a certain percentage of the current size.

Below you will find a macro that resizes all pictures in the active document
to the percentage you specify in the macro (change 50 to the desired
percentage).

NOTE: If your pictures are not in the text layer (wrapping style €œIn line
with text€ - set via Format Picture Layout tab) but floating (any other
wrapping style), you must change the €œDim€¦€ line and the €œFor each€¦€ line to
the following:

Dim oShape As Shape
For Each oShape In ActiveDocument.Shapes

The macro:

Sub ResizeAllPictures_Percentage()

Dim oShape As InlineShape
Dim nPercentage As Long

nPercentage = 50

For Each oShape In ActiveDocument.InlineShapes
With oShape
'Scale proportionally to the defined percentage
€˜Height is automatically changed when you change the width
.LockAspectRatio = msoTrue
.Width = (oShape.Width * nPercentage) / 100
End With
Next oShape
End Sub

If you need help on installing macros, see:
http://www.gmayor.com/installing_macro.htm

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"col" wrote:

I have copied some screen shots into word as drawings on o approx 200 pages
.need to resize all the drawings is there a way to resize all 200 pages in
one go

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2007, problem with pictures and drawing objects Lina Microsoft Word Help 2 April 13th 07 07:54 AM
line-drawing objects in Word 2002 Frank[_2_] New Users 3 March 19th 07 02:06 PM
How to Layout Drawing Objects for Duplex Printing Gordzilla Page Layout 1 March 13th 07 09:42 AM
Word 2002 problem with drawing objects BCbear Microsoft Word Help 2 July 26th 05 09:13 PM
how to embed engineering drawing symbols as objects ragtop94 Microsoft Word Help 1 July 26th 05 07:14 PM


All times are GMT +1. The time now is 08:41 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"