Option Explicit
Dim fd As Boolean
Sub images 2 _click ()
Fd=fd Xor True
With ActiveSheet. Shapes (Application. The Caller). OLEFormat. Object
If fd Then
. Width=. Width + 500
. The Height=. Height + 500
The Else
. Width=. Width - 500
. The Height=. The Height - 500
End the If
End With
End Sub
CodePudding user response:
Use the left property to set the move to the left of the picture, or need to calculate