How to quickly convert/change text to upper cases in Microsoft Excel?
This article is going to talk about some tips about how to change text strings to all uppercase letters easily in Microsoft Excel.
- Change text strings to uppercase in Excel with UPPER function?
- Change text strings to uppercase in Excel with VBA
- Change text strings to uppercase in Excel with Kutools for Excel
Supposing you need to change text strings in A1:A5 to uppercase letters, see the following screen shots:
Change text strings to uppercases in Excel with UPPER function
Using Microsoft Excel's upper function is easy to change text strings to uppercase letters in one cell.
Enter =UPPER(A1) in Cell C1, and press Enter key. Then the content of "change case" in Cell A1 is copied and changed to "CHANGE CASE" in Cell C1. See screen shot:
Select the Cell C1, and you can copy the formula to other cells by dragging at bottom-right corner and dropping down to other cells.
Change text strings to uppercase in Excel with VBA
There is a VBA code can help you to change the text string to uppercase in Excel.
1. Press Alt + F11 to display the Microsoft Visual Basic for Applications window.
2. In the window, click Insert > Module to show a new module window, then copy the following VBA code into the module window.
VBA: Change text string to uppercase in Excel.
Sub UCase()
'Upadateby20140701
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
Rng.Value = VBA.UCase(Rng.Value)
Next
End Sub
3. Then click Run button, and a dialog pops out for you to select a range to change text string to uppercase. See screenshot:
4. After selecting, click OK. All the text string in the selection will be changed to uppercase.
Change text strings to uppercase in Excel with Kutools for Excel
Kutools for Excel's Change Case tool can help you all text strings or letters to uppercase letters in a range of Microsoft Excel.
Kutools for Excel includes more than 100 handy Excel tools. Free to try with no limitation in 30 days. Get it Now.
Step 1: Select the range in which you will change text strings to uppercase letters.
Step 2: Click the Kutools > Text > Change Case…. See screen shot:
Step 3: In Change Case dialog box, check the UPPER CASE option, and click OK or Apply button. See screen shot:
Then you will see that all text strings in selection are changed to uppercase letters. See screenshot:
Kutools for Excel's Change Case tool can quickly change text case to UPPER, LOWER, PROPER, Sentence Case, and tOGGLE cASE. Click to know more…
Relative articles:
- Change case of text 2007 and 2010
- Change text strings to sentence case
- Change uppercase to lowercase
- Change uppercase to proper or title case
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!