PDA

View Full Version : Solved: TextBox characters countdown



Minderis
11-30-2011, 01:03 PM
On a word document I have textbox2 with max length 400. I want to countdown it, because user must know how much characters left (countdown in text after textbox2).

How I can do it?

gmaxey
11-30-2011, 01:45 PM
Put the followind code in the textbox's change event:


Application.StatusBar = "Characters left " & 400 - Len(Me.TextBox2.Text)

Minderis
12-01-2011, 04:47 AM
Thanks