Re: Change Button Name From On To Off When Clicked
Using a button from the forms toolbar try
Code
Sub ToggleOnOff()
Dim Crt As Boolean
Dim strCptn As String
Dim SrtBut As String
SrtBut = Application.Caller
Crt = UCase(Range("A1").Value) = "X"
If Crt = True Then
strCptn = "on"
Else
strCptn = "off"
End If
ActiveSheet.Shapes(SrtBut).TextFrame.Characters.Text = strCptn
End Sub
Display More
Code from here
http://www.ozgrid.com/forum/showthread.php?t=60224
VBA Noob