Sub Button1_Click
Select Button1.Text
Case "On"
'do something
Button1.Text = "Auto"
Case "Auto"
'do something
Button1.Text = "Off"
Case "Off"
'do something
Button1.Text = "On"
End Select
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.