Check to see if entire string is UpperCase? I know I can check if an individual character is uppercase If X Like "[A-Z]" but is there a way to check if a string of indeterminate length is all uppercase? Dave Peterson Guest Posts: n/a 's Computer Specifications 18th Feb 2010 if ucase(myStr) = mystr then 'it looks the same as uppercase But if your string looks like: myStr = "7!@#$_-==--" Then upper/lower case doesn't really make sense. msnyc07 wrote: &gt; &gt; I know I can check if an individual character is uppercase If X Like "[A-Z]" &gt; but is there a way to check if a string of indeterminate length is all &gt; uppercase? -- Dave Peterson ker_01 Guest Posts: n/a 's Computer Specifications 18th Feb 2010 If myString = UCase(Mystring) then 'the string is fully uppercase HTH, Keith "msnyc07" wrote: &gt; I know I can check if an individual character is uppercase If X Like "[A-Z]" &gt; but is there a way to check if a string of indeterminate length is all &gt; uppercase? Rick Rothstein Guest Posts: n/a 's Computer Specifications 18th Feb 2010 The Like operator allows wildcards... If Not X Like "*[a-z]*" Then ' X does not contain any lower case letters which ' doesn't mean every letter is an upper case letter... ' there could be punctuation marks or blanks Else ' X does not contain any lower case letters End If -- Rick (MVP - Excel) "msnyc07" &lt;(E-Mail Removed)&gt; wrote in message news:9EDC8758-93BD-46BD-A073-(E-Mail Removed)...