Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Excel Count characters in a textbox to display character count?

Hey,

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Excel Count characters in a textbox to display character count?

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

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

hth,

Doug

wrote in message
ups.com...
Hey,

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to count the no. of characters in a cell in Excel? karbrown12 Excel Worksheet Functions 2 January 26th 10 08:24 PM
How do I display character count on the status bar? user061803 Excel Worksheet Functions 2 May 16th 08 07:48 PM
Display characters present after a specific character [email protected] Excel Discussion (Misc queries) 3 December 11th 06 03:08 AM
How do I perfom a character count in a single cell in Excel? RonNette72791 New Users to Excel 1 August 11th 06 05:49 PM
Is there a character count feature in Excel? Bob S Excel Discussion (Misc queries) 4 July 21st 06 06:10 PM


All times are GMT +1. The time now is 05:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"