I need a help, i made a userform with 1 CommandButton and 4 TextBox, what im trying to do is. i want to disable the CommanButton if all 4 TextBox is still empty.
i already found a code that help for only 1 text box, i use code
Private Sub TextBox1_Change()
If TextBox1.Value = "" Then
CommandButton1.Enabled = False
Else
CommandButton1.Enabled = True
End If
End Sub
when i use the same code in textbox2 i endup stuck, the commandbutton is enable, when i use code (if TextBox1.value & textbox2.value & TextBox3.value & TextBox4.value = "" then commandbutton1.enabled = false) the command button is stil enable after filling the textbox1.
any idea ?