webster188
New Member
- Joined
- Oct 20, 2010
- Messages
- 31
Hi,
I have created a very simple userform with one textbox and a "back" and "next" commandbutton.
The "next" commandbutton only becomes active when the textbox is not empty.
Unfortunately, even when the textbox is empty, the commandbutton is alway enabled.
I found out that textbox.value="" is not considered as Empty.
What syntax should I use instead to make this work?
I have created a very simple userform with one textbox and a "back" and "next" commandbutton.
The "next" commandbutton only becomes active when the textbox is not empty.
Unfortunately, even when the textbox is empty, the commandbutton is alway enabled.
I found out that textbox.value="" is not considered as Empty.
What syntax should I use instead to make this work?