G
Guest
I am trying to code my toggle button so that when I click the button the Font
bolds and takes another color. I found this code on another post. But it
doesn't seem to be working.
Any help would be great! Here is the code.
Private Sub Call_Back_Click()
If Me.CallBackBtn.FontBold = False Then
Me.CallBackBtn.FontBold = True
Me.CallBackBtn.ForeColor = vbRed
Else
Me.CallBackBtn.FontBold = False
Me.CallBackBtn.ForeColor = vbBlack
End If
End Sub
Thanks Dustin
bolds and takes another color. I found this code on another post. But it
doesn't seem to be working.
Any help would be great! Here is the code.
Private Sub Call_Back_Click()
If Me.CallBackBtn.FontBold = False Then
Me.CallBackBtn.FontBold = True
Me.CallBackBtn.ForeColor = vbRed
Else
Me.CallBackBtn.FontBold = False
Me.CallBackBtn.ForeColor = vbBlack
End If
End Sub
Thanks Dustin