Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Paul K.
 
Posts: n/a
Default Is it possible to display the number of characters in a cell

I would like to click on a cell and obtain a character count. Is it possible?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Is it possible to display the number of characters in a cell

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not IsEmpty(Target.Value) Then
MsgBox Len(Target.Value)
End If
End Sub

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Paul K." wrote in message
...
I would like to click on a cell and obtain a character count. Is it

possible?


  #3   Report Post  
Paul K.
 
Posts: n/a
Default Is it possible to display the number of characters in a cell

Bob:
Thank you for your help, it works great, this is going to be a great time
saver today!
Paul

"Bob Phillips" wrote:

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not IsEmpty(Target.Value) Then
MsgBox Len(Target.Value)
End If
End Sub

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Paul K." wrote in message
...
I would like to click on a cell and obtain a character count. Is it

possible?



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
Need Workaround for Cell Display Limitation in Excel 2000 Kevin Excel Discussion (Misc queries) 5 April 20th 05 11:33 PM
fill or truncate to a certain number of characters in a cell Jan Buckley Excel Worksheet Functions 1 March 16th 05 03:46 PM
How do you count number of characters in a single cell Joe Excel Worksheet Functions 1 February 18th 05 09:08 PM
How do you count number of characters in a single cell Joe Excel Worksheet Functions 1 February 18th 05 08:33 PM
spread the number 123.45 so each digit goes to a different cell Linda H. Excel Worksheet Functions 6 February 17th 05 07:07 PM


All times are GMT +1. The time now is 11:13 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"