A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Set Character limit in Column



 
 
Thread Tools Display Modes
  #1  
Old January 12th, 2007, 01:59 PM posted to microsoft.public.excel.setup
NeilE
external usenet poster
 
Posts: 5
Default Set Character limit in Column

Id it possible to limit the number of characters in and Excel spreadsheet
column automatically to say i.e.34
--
NeilE
  #2  
Old January 12th, 2007, 03:51 PM posted to microsoft.public.excel.setup
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Set Character limit in Column

You could select the column
Data|Validation|Settings tab
Use Text Length and set it for what you want.

Be aware that this isn't foolproof--a user can paste over any of these cells and
destroy the data|validation rule.

And it won't stop them while they'er typing. It'll give them a warning/error
message when they enter the data.

For me, I like to use an adjacent column with a formula like:

=if(len(a1)34,"","--Text too long")
and make it bold and red.



NeilE wrote:

Id it possible to limit the number of characters in and Excel spreadsheet
column automatically to say i.e.34
--
NeilE


--

Dave Peterson
  #3  
Old January 12th, 2007, 04:45 PM posted to microsoft.public.excel.setup
NeilE
external usenet poster
 
Posts: 5
Default Set Character limit in Column

Thanks for this it is a good solution for the application that I am using.
--
NeilE


"Dave Peterson" wrote:

You could select the column
Data|Validation|Settings tab
Use Text Length and set it for what you want.

Be aware that this isn't foolproof--a user can paste over any of these cells and
destroy the data|validation rule.

And it won't stop them while they'er typing. It'll give them a warning/error
message when they enter the data.

For me, I like to use an adjacent column with a formula like:

=if(len(a1)34,"","--Text too long")
and make it bold and red.



NeilE wrote:

Id it possible to limit the number of characters in and Excel spreadsheet
column automatically to say i.e.34
--
NeilE


--

Dave Peterson

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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