P
Pinky
I want to create a macro that doubles my AutoShape dimensions and
recorded/edited this code:
Sub twosize()
With ActiveWindow.Selection.ShapeRange
..LockAspectRatio = msoTrue
..Height = (ActiveWindow.Selection.ShapeRange.Height) * 2
..Width = (ActiveWindow.Selection.ShapeRange.Width) * 2
End With
End Sub
However this increases my shape dimensions by 4 times - a 1 cm square
becomes 4.01 cm square.
What can I do?
- Pinky
recorded/edited this code:
Sub twosize()
With ActiveWindow.Selection.ShapeRange
..LockAspectRatio = msoTrue
..Height = (ActiveWindow.Selection.ShapeRange.Height) * 2
..Width = (ActiveWindow.Selection.ShapeRange.Width) * 2
End With
End Sub
However this increases my shape dimensions by 4 times - a 1 cm square
becomes 4.01 cm square.
What can I do?
- Pinky