Thread: Excel Form
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 299
Default Excel Form

You could use a formula and count spaces
under datavalidation select custom,

=(LEN(B1)-LEN(SUBSTITUTE(B1," ","")))<=4

for 4 spaces e.g. 5 words, that means you can write

"The rain in Spain stays"

but not

"The rain in Spain stays mainly in the plain"


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)



"kaci" wrote in message
...
Thank you. But how about the WORD limit? I can only find text limit in
the
data validation.

Thanks much.

"kfogle" wrote:

Agreed. Data Validation will solve both your issues.

Alan wrote:
Have a look at Data Validation in Help,
Regards,
Alan.