
Option Explicit
Dim fd As Boolean
Sub 圖片2_Click()
fd = fd Xor True
With ActiveSheet.Shapes(Application.Caller).OLEFormat.Object
If fd Then
.Width = .Width + 500
.Height = .Height + 500
Else
.Width = .Width - 500
.Height = .Height - 500
End If
End With
End Sub