Automatically Changing to Upper Case

J

JimS

Somewhere on one of my spreadsheets everytime I typed in text it would
change it to upper case. I have no idea how I did this. I did a
Google search, but I coudln't find anything that works without using
macros.

Is there a way to type in text to a cell and have it change
automatically to upper case without using macros?

Thanks
 
B

Bernie Deitrick

Jim,
Is there a way to type in text to a cell and have it change
automatically to upper case without using macros?

No.

You probably are using the worksheet's change event code to achieve that.

HTH,
Bernie
MS Excel MVP
 
J

JimS

What is the change code event? Are you saying I had some code in
there I didn't know about?

Thanks
 
G

Gary''s Student

If you want to type text into a cell and have it automatically change to
upper case without using macros, touch the CAPSLOCK key first.

The CAPSLOCK key is usually located to the left of the "A" key
 
G

Gord Dibben

Right-click on the sheet tab and "View Code"

Paste this into that module.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column > 8 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub

Will UPPER case everything entered in columns A to H


Gord Dibben MS Excel MVP
 
P

Peo Sjoblom

I think the OP wanted an explanation why his data was
in upper case

--


Regards,


Peo Sjoblom
 
J

JimS

That's true, and I was also trying to find a way to do this with out
using a macro.

Thanks for the help.
 
G

Gord Dibben

Without a macro use the UPPER function, but that will not be automatic and
requires a helper cell for the formula.


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Upper Case 2
upper case 1
Upper Case only? 5
Upper Case and Max 3 letters 3
Force upper-case characters? 2
Checking for ALL Upper case? 3
change first letter only to Upper 15
How to set Upper case in a column 12

Top