cariobulog
Technical User
Anyone could help me how i can make my command button background color changing everytime i click it.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Label0_Click()
Select Case Me.Label0.Caption
Case Is = "Any Caption"
Me.Label0.Caption = "material"
Me.Label0.BackColor = vbRed
Case Is = "material"
Me.Label0.Caption = "equipment"
Me.Label0.BackColor = vbBlue
Case Is = "equipment"
Me.Label0.Caption = "material"
Me.Label0.BackColor = vbRed
End Select
End Sub