P Poohberry Apr 15, 2008 #1 I have to import data regularly and then capitalize it. How do I create a macro the capitalizes an entire excel sheet?
I have to import data regularly and then capitalize it. How do I create a macro the capitalizes an entire excel sheet?
G Gary''s Student Apr 15, 2008 #2 Sub capall() For Each r In ActiveSheet.UsedRange r.Value = UCase(r.Value) Next End Sub
B Bill Kuunders Apr 15, 2008 #3 One way without a macro Assuming your text is in sheet1 Start with a new blank sheet enter =upper(sheet1!A1) in A1 and extend it accross and down as far as you need to.
One way without a macro Assuming your text is in sheet1 Start with a new blank sheet enter =upper(sheet1!A1) in A1 and extend it accross and down as far as you need to.
M Mike H Apr 15, 2008 #4 And another way that ensures formula aren't turned into values Sub capall() For Each r In ActiveSheet.UsedRange r.Formula = UCase(r.Formula) Next End Sub Mike
And another way that ensures formula aren't turned into values Sub capall() For Each r In ActiveSheet.UsedRange r.Formula = UCase(r.Formula) Next End Sub Mike