Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,688
Default Count of characters

Hi Folks!

This is based on another post in the .misc group that I
was involved in earlier today. It was about limiting the
number of characters that can be entered into a cell.

Anyhow, what I would like is to have the number of
characters counted as they are being typed. Is that
possible?

For example, A1 is to be filled in by the user. The max
number of characters permitted is 50. Can cell B1 be used
as an accumulator as the user types in cell A1? This way
the user can see how many characters they have typed and
how many more they can continue to type.

Biff
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Count of characters

Hi Biff,

As far as I know there isn't any way to do this. While you are in the
process of entering data into a cell, Excel is in a state called edit mode
in which it is only responsive to the keyboard and the mouse. No other cells
and no VBA code have any idea what's going on during edit mode. They have to
wait until it's completed and work with the end result.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"Biff" wrote in message
...
Hi Folks!

This is based on another post in the .misc group that I
was involved in earlier today. It was about limiting the
number of characters that can be entered into a cell.

Anyhow, what I would like is to have the number of
characters counted as they are being typed. Is that
possible?

For example, A1 is to be filled in by the user. The max
number of characters permitted is 50. Can cell B1 be used
as an accumulator as the user types in cell A1? This way
the user can see how many characters they have typed and
how many more they can continue to type.

Biff



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,688
Default Count of characters

Thanks Rob, I had my doubts!

I've seen this feature on web pages, but then, they
weren't written in VBA!

Biff

-----Original Message-----
Hi Biff,

As far as I know there isn't any way to do this.

While you are in the
process of entering data into a cell, Excel is in a state

called edit mode
in which it is only responsive to the keyboard and the

mouse. No other cells
and no VBA code have any idea what's going on during edit

mode. They have to
wait until it's completed and work with the end result.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"Biff" wrote in message
...
Hi Folks!

This is based on another post in the .misc group that I
was involved in earlier today. It was about limiting the
number of characters that can be entered into a cell.

Anyhow, what I would like is to have the number of
characters counted as they are being typed. Is that
possible?

For example, A1 is to be filled in by the user. The max
number of characters permitted is 50. Can cell B1 be

used
as an accumulator as the user types in cell A1? This way
the user can see how many characters they have typed and
how many more they can continue to type.

Biff



.

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
Count first and last characters Elton Law[_2_] Excel Worksheet Functions 3 April 26th 10 03:56 PM
count characters Rich[_2_] Excel Discussion (Misc queries) 2 August 23rd 08 09:14 PM
Count for the same serial of characters Frank Situmorang[_2_] Excel Worksheet Functions 4 August 8th 08 06:00 PM
Count Characters in a cell tracktor Excel Discussion (Misc queries) 8 May 21st 08 03:02 AM
Count Characters sjs Excel Worksheet Functions 6 December 9th 05 08:40 PM


All times are GMT +1. The time now is 02:39 PM.

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

About Us

"It's about Microsoft Excel"