Rick,
I read it slightly differently because the OP didn't exclude the possibility
of a formula in the range. I think you might agree anyway it would be good
practice.
Mike
"Rick Rothstein (MVP -
VB)" wrote:
The OP said "When I enter text data into an Excel cell", so I assumed that
if he is *entering* text, there would not be a formula to worry about.
Rick
"Mike H" wrote in message
...
To avoid changing formula into values I would suggest you ammend the line
in
Rick's code to this
If Not Target.HasFormula Then Target.Value = UCase(Target.Value)
Mike
"Doug Waters 03/03/08" wrote:
When I enter text data into an Excel cell, how can I get it to
automatically
be converted to upper case when I hit the Enter or Tab key? Yes, I know
about
the UPPER function - the problem is I want the data to be converted to
upper
case in the SAME CELL I just entered it into as lower case text.
Thanks for any help that anyone can provide.