automatically update word count in textbox

E

Eanna

Hi,
I'd appreciate some help with the following VBA problem.

I have a multi-line textbox in a Userform. I would like to update the
word count in the text box automatically as the user types text in the
box.

Does anyone know an easy way to do this?

regards,
E
 
J

Jezebel

There is no "easy way to do this". There are some hard ways (eg using a
timer loop in an independent thread, to recount every few milliseconds; or
API callbacks to monitor the message queue) but -- and I mean no
disrespect -- if you knew enough programming to use these methods, you would
also know better than to try...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top