
Signature
---
HTH
Bob
(change the xxxx to gmail if mailing direct)
> You upshift the value, but test against proper case, as well as having the
> TRUE/FALSE revresed.. Shouldn't it be
[quoted text clipped - 27 lines]
> > Sheets("Blue").Rows("94:113").EntireRow.Hidden = True
> > End Select
Thanks for the help.
For some reason it worked when I capitalized "DOG" rather than using
"Dog"
The False and True weren't mixed up, thats they way I wanted it to
function.
Dave Peterson - 13 Dec 2006 14:54 GMT
That's why Bob capitalized it.
> Select Case UCase(Range("C98").Value)
> Case "DOG"
If you're going to use UCase(), then you'll want all your comparisons against
upper case strings--otherwise, you'll never get a match.
> > You upshift the value, but test against proper case, as well as having the
> > TRUE/FALSE revresed.. Shouldn't it be
[quoted text clipped - 35 lines]
> The False and True weren't mixed up, thats they way I wanted it to
> function.

Signature
Dave Peterson
Don Guillett - 13 Dec 2006 14:54 GMT
I'm sure that Bob meant to do that. The ucase( forces excel to compare
apples and apples regardless of how the user typed it. dog Dog dOG, etc.
Select Case UCase(Range("C98").Value)
> > Case "DOG"

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
>
>> You upshift the value, but test against proper case, as well as having
[quoted text clipped - 37 lines]
> The False and True weren't mixed up, thats they way I wanted it to
> function.
Don Guillett - 13 Dec 2006 16:14 GMT
I just re-read and Bob DID capitalize it.

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
> I'm sure that Bob meant to do that. The ucase( forces excel to compare
> apples and apples regardless of how the user typed it. dog Dog dOG, etc.
[quoted text clipped - 41 lines]
>> The False and True weren't mixed up, thats they way I wanted it to
>> function.
CH - 14 Dec 2006 12:52 GMT
Thanks for the help everyone.
> I just re-read and Bob DID capitalize it.
>
[quoted text clipped - 52 lines]
> >> The False and True weren't mixed up, thats they way I wanted it to
> >> function.