I tried the following, it worked fine:
If Not txtName = "" And Not txtMW = "" And Not txtSG = "" And Not txtTc = "" And Not txtParachor = "" Then
cmdOK.Enabled = True
Else
cmdOK.Enabled = False
End If
It seems the "TextBox1 = True" does not work, at least with me.
Anyway, vemaju thanks for the help.
|