|
楼主 |
发表于 2015-7-15 21:28
|
显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
3号功能的代码(坛子里收藏的):
Sub ActionClick()
Static n
Application.ScreenUpdating = False
n = n + 1
If (n Mod 2) = 1 Then
With Sheets("物料信息库").Shapes(Application.Caller)
.ScaleHeight 2, msoFalse, msoScaleFromTopLeft
.ScaleWidth 2, msoFalse, msoScaleFromTopLeft
.ZOrder msoBringToFront
End With
Else
With Sheets("物料信息库").Shapes(Application.Caller)
.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
.ScaleWidth 0.5, msoFalse, msoScaleFromTopLeft
.ZOrder msoBringToFront
End With
End If
Application.ScreenUpdating = True
End Sub |
|