Hi,
It should work better if you avoid selecting the shape. You can also replace the larger button with an empty label and then use
Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
' Debug.Print Button, Shift, X, Y
With ActiveSheet.Shapes("Rectangle 4").Glow
.Color.ObjectThemeColor = msoThemeColorAccent3
.Color.TintAndShade = 0
.Color.Brightness = 0
.Transparency = 0.6000000238
.Radius = 18
End With
End Sub
Private Sub Label1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
' Debug.Print Button, Shift, X, Y
ActiveSheet.Shapes("Rectangle 4").Glow.Radius = 0
End Sub
Bookmarks