Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Code to change to UPPER Case

Status
Not open for further replies.

Dreamboat

Instructor
Nov 7, 1999
4,881
US
I know there's some code that will easily change, for instance, all entries into column A into capital letters. Anybody paste it please?? DESPERATE!!
techsupportgirl@home.com
Brainbench MVP for Microsoft Word
 
Something must be slow on my end.... I just got your new request........


Sub ChangeCase()

Application.Cursor = xlWait ' Smoothes out the macro execution
Application.ScreenUpdating = False ' Makes macro run faster

For IntR = 1 To 10000
ActiveSheet.Rows(IntR).Columns(1) = UCase(ActiveSheet.Rows(IntR).Columns(1))
Next IntR

Application.Cursor = xlDefault ' Set cursor back to default.

End Sub
 
I've since some other fairly different looking code, but I want to try yours too. The problem's been resolved with the other code on the user end, but I must have asked this question a gazillion times and never save the dern code.

I'm in Chapter 12 of the Riley Excel VBA book...have patience with me! LOL LOL

Thanks!
techsupportgirl@home.com
Brainbench MVP for Microsoft Word
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top