Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro to have equal size charts and picture in MS Word
I am trying to write a macro that will find all excel charts and
pictures in a word document and resize it uniformly equal size and aligned in the center of the document. To test, I have one excel chart and a picture in page1. Command button is also in page1. Sub test() ActiveDocument.Shapes.SelectAll Selection.ShapeRange.LockAspectRatio = msoTrue Selection.ShapeRange.Left = wdShapeCenter End Sub The above code works only when I have iamges in the document. I get an error (Cannot select mulitple canvas at the same time) when I have canvas (powerpoint slide) in the document. How to select only the pictures in a document and align it in the middle? Please help. Thanks |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
What point size is equal to 10 characters per inch? | Page Layout | |||
Spell Check a protected Form with a Macro & already have forms picture macro | Microsoft Word Help | |||
Insert Equal Size Text Boxes or alternatives | Page Layout | |||
Can organization charts have different size text boxes? | Microsoft Word Help | |||
greater than or equal to and less than or equal to symbols won't s | Microsoft Word Help |