ASKER
Sub macro1()
For Each Shp In Selection
Shp.ShapeRange.LockAspectRatio = msoTrue
Shp.ShapeRange.ScaleHeight 0.69, msoTrue, msoScaleFromTopLeft
Next
End Sub
ASKER
Public Sub myProcedure()
macro ThisWorkbook.Worksheets(1)
End Sub
ASKER
ASKER
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
TRUSTED BY
ASKER
thank you very much for your swift help. I just noticed I cannot name graphics on the currently active sheet. I know how to do that for charts, but for graphics, I have got no idea.
Alternatively how would your coding change if I run this code on the selected graphics?