Skip to main content

How to quickly convert/change text to upper cases in Microsoft Excel?

Author: Kelly Last Modified: 2014-07-01

This article is going to talk about some tips about how to change text strings to all uppercase letters easily in Microsoft Excel.

Supposing you need to change text strings in A1:A5 to uppercase letters, see the following screen shots:

arrow blue right bubble 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.

arrow blue right bubble 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()
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)
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.

arrow blue right bubble 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 Tools > 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:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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!


Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
The VBA was freaking awesome thanks a lot :lol: .
This comment was minimized by the moderator on the site
This is one the ways that i know it could be done with VBA Sub UPPER () Dim Addrr As Atring Addr = Intersect(ActiveSheet.UsedRange, Selection).Address Range(Addr) = _ Evaluate("IF(LEN(" & Addr & "),UPPER(" & Addr & "),"""")") End Sub
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations