Excel Count characters in a textbox to display character count?

S

Shaka215

Hey,

How do I make it so Excel VBA counts the characters in a textbox
and displays a value in a message box? Thanks!
 
D

Doug Glancy

If you mean a textbox from the drawing toolbar, this will do it:

MsgBox Worksheets(1).TextBoxes("Text Box 1").Characters.Count

hth,

Doug
 

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