G
Guest
I wanted to verify the length of text box.
If the text box is empty do something
I use following VBA code.
If Len(txtMyText) = null then
MyFunction
else
MyFunction1
end if
The problem is when the ttext box is empty then the len function return null.
I got Null = Null, but VBA execute Myfunction1 not MyFunction.
Any suggestion?
Any informaiton is great apprecitaed,
If the text box is empty do something
I use following VBA code.
If Len(txtMyText) = null then
MyFunction
else
MyFunction1
end if
The problem is when the ttext box is empty then the len function return null.
I got Null = Null, but VBA execute Myfunction1 not MyFunction.
Any suggestion?
Any informaiton is great apprecitaed,