Code:
Private Sub Btn_Compute_Click()
If Tbx_Complete Or Tbx_REV Or Tbx_Budget Or Tbx_Actual = vbNullString Then
Exit Sub
End If
Tbx_REV = (Tbx_Budget - Tbx_Actual)
End Sub
Hello All,
I have a User Form with 4 TxtBox:
Tbx_Complete
Tbx_REV
Tbx_Budget
Tbx_Actual
My "Or" syntax is wrong...and I don't know why. I'm trying to Exit the Sub, if any of the 4 TxtBox has no enty.
Thanks for the help
excel 2013
Last edited: