how do you do it? count how many characters you typed
Len(Text1.Text) will return the number of characters in a textbox (or a string if you use Len(strTemp) - gaffa
Use the Len function in VB Code: Dim lngNum as Long lngNum = Len(Text1.text) msgBox lngNum & " Chars have been entered in this box" Hope this helps.
Dim lngNum as Long lngNum = Len(Text1.text) msgBox lngNum & " Chars have been entered in this box"
"Three minutes thought would suffice to find this out; but thought is irksome and three minutes is a long time." "The supreme irony of life is that hardly anyone gets out of it alive."
Thank you
Forum Rules