Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I need to make sure that a cell contains NO SPECIAL CHARACTERS (including the <SpaceBar) during data entry. I've tried: =len(cellReference)=len(substitute(cellReference,o r(char(32),char(34),...etc ),"") but Excel doesn't like the OR funtion (2nd parameter) inside SUBSTITUTE. How do you test if a cell reference contains ANY of the "special text characters" (from list below)? space double quote number dollar percent ampersand apostrophe open parenthesis close parenthesis asterisk plus comma hyphen period forward slash colon semi-colon less than equal greater than at symbol open square bracket backslash close square bracket caret underscore single quote (under tilde) open curly bracket pipe (above backslash) close curly bracket tilde Thanx for your time... (^_^) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linked cells and text boxes | Excel Discussion (Misc queries) | |||
dates and text | Excel Discussion (Misc queries) | |||
Find all text instances in a sheet and add one number from each row | Excel Discussion (Misc queries) | |||
How do I test a cell for part of text | Excel Worksheet Functions | |||
change text color based on logical test | Excel Worksheet Functions |