Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default How to limit cell to 30 characters or less

I need to find out how to limit the number of characters that can be entered
in cells within a certain column. Ideally, a message box would pop up if
someone tried to enter more than 30 characters and direct them to split the
data into the adjoining column.

The limit is necessary to allow import into a vendor's database. Two fields
are limited to 30 characters each. Any characters beyond 30 would be
truncated upon import.

Can this be done through a macro? Or would I need code to accomplish this?
I am a novice, but can create some macros and wade through some code.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default How to limit cell to 30 characters or less

One way:

Use Data/Validation, Allow: Text length


In article ,
Gretta wrote:

I need to find out how to limit the number of characters that can be entered
in cells within a certain column. Ideally, a message box would pop up if
someone tried to enter more than 30 characters and direct them to split the
data into the adjoining column.

The limit is necessary to allow import into a vendor's database. Two fields
are limited to 30 characters each. Any characters beyond 30 would be
truncated upon import.

Can this be done through a macro? Or would I need code to accomplish this?
I am a novice, but can create some macros and wade through some code.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default How to limit cell to 30 characters or less

Thank you! I really am a novice, aren't I???

"JE McGimpsey" wrote:

One way:

Use Data/Validation, Allow: Text length


In article ,
Gretta wrote:

I need to find out how to limit the number of characters that can be entered
in cells within a certain column. Ideally, a message box would pop up if
someone tried to enter more than 30 characters and direct them to split the
data into the adjoining column.

The limit is necessary to allow import into a vendor's database. Two fields
are limited to 30 characters each. Any characters beyond 30 would be
truncated upon import.

Can this be done through a macro? Or would I need code to accomplish this?
I am a novice, but can create some macros and wade through some code.


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
How do I limit characters in a cell? casey Excel Worksheet Functions 5 October 4th 06 01:33 AM
Can I limit a cell to 2 characters? Frankc Excel Discussion (Misc queries) 2 August 11th 05 01:03 AM
limit no of characters in cell rocket0612 Excel Discussion (Misc queries) 3 June 1st 05 07:11 PM
a way to limit the characters allowed in a cell? EmRit24 Excel Worksheet Functions 3 April 29th 05 09:30 PM
Can I limit a cell to 72 characters? How? Chris Excel Discussion (Misc queries) 2 December 28th 04 04:57 PM


All times are GMT +1. The time now is 02:33 AM.

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"