Hi!
The following works great.
But I want to resize the shape with ScaleWidth 1.5 befor copy it to new cell.
I get error.
Please help.
The following works great.
But I want to resize the shape with ScaleWidth 1.5 befor copy it to new cell.
I get error.
Please help.
HTML:
Function ShapeAtActiveCell() As String
Dim Sh As Shape
For Each Sh In ActiveSheet.Shapes
If Sh.TopLeftCell.Address = ActiveCell.Address Then
ShapeAtActiveCell = Sh.Name
Exit Function
End If
Next
End Function
'--------------
With Worksheets("Blad2")
.ShapeRange.ScaleWidth 1.5 ' I want to resize/ScaleWidth 1.5 befor copy
.Shapes(ShapeAtActiveCell).Copy
End With
With Worksheets("Blad2")
.Paste Destination:=.Cells(j, "C")
End With