Lowercase to uppercase

P

papou

Hello Deborah
How about a little macro to do this?
Sub ChangeIntoUpper()
For Each c In ActiveSheet.UsedRange
c.Value = UCase(c.Value)
Next c
End Sub

HTH
Cordially
Pascal
 
F

Frank Pytel

workingwoman

You could try upper(). This could be kind of a pain as you would have to
mirror the document. The macro, if works(I don't do VBA), is probably better.

God Bless

Frank Pytel
 
G

Gord Dibben

I would alter this macro as such.

Sub ChangeIntoUpper()
For Each c In ActiveSheet.UsedRange
c.Formula = UCase(c.Formula)
Next c
End Sub

Otherwise, if there are any formulas in the range, they would be changed to
values only.


Gord Dibben MS Excel MVP
 

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

Top