Hi,
I'm trying to activate a CommandButton next to a field as late in the writing of the string as possible.
He is typing out his email address and for some reason this does not work:
If Len(TextBox8.Value) + Len(TextBox7.Value) + TextBox5.Value = TextBox4.Value Then
CommandButton2.Enabled = True
End If
TextBox8 is a string
TextBox7 is a string
TextBox5 is a number
TextBox4 is a number
TextBox8 is the string after the "at"
TextBox7 is the string before the "at"
TextBox5 is the count of "at" in the email as a number
TextBox4 is the numeric length of the whole (incl. the "at" symbol) email.
Bookmarks