Excel 2010-Upper Case Letters to Every Word in Spreadsheet

Posted on 2013-06-06
Last Modified: 2013-06-24
Hi Experts,
I need to change the first letter of every word in my spreadsheet to upper case, is there a formula I can use to do this with 1 action or do i have to manually change each letter to upper case?
This will need to apply to each word within a spreadsheet that has around 2000 line entries
Question by:Frank .S
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
LVL 51

Expert Comment

ID: 39228174

Pls try on your selected cells

Sub DoUpperCase()
For Each cell In Selection
        cell.Value = WorksheetFunction.Proper(cell.Text)
End Sub

Open in new window


Author Comment

by:Frank .S
ID: 39228176
Hi Rgonzo1971,
I have pasted this code into the worksheet, but I need a lot more directions as to what else i need to do etc?
LVL 51

Expert Comment

ID: 39228187

first select the cells you want to change then run the code, the code cannot change the result of formulas.

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.


Author Comment

by:Frank .S
ID: 39228196
Hi expert, i have selected the cells but dont know how to then run the code in excel 2010?
LVL 51

Expert Comment

ID: 39228204
Goto View/Macros/View Macros then you should find DoUpperCase then Click Run

LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39228266
Right-click on the sheet tab name
Select View code
From the menu      Insert > Module
Paste the given code in the VBA window
Close the VBA window
Press Alt-F8
Select the macro name
Click on run
LVL 47

Expert Comment

by:Martin Liss
ID: 39229258
If you want to do this more than once then after the "Select the macro name" in ssaqibh's steps, click the 'Option…' button and place a letter like 'z' in the 'Ctrl+' box. From then on all you need to do to run the macro is to press Ctrl+z.
LVL 47

Expert Comment

by:Martin Liss
ID: 39251473
Did any of the above help you?

Accepted Solution

Frank .S earned 0 total points
ID: 39252269
Hi Experts, thankyou for your help. It appears all i needed to do was;
=Proper(cell reference)

Author Closing Comment

by:Frank .S
ID: 39270714
all expert suggestions were not what worked for me

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
converting excel into labels 6 35
Excel VBA inserting a formula 12 34
EXCEL String-handling question ... 7 46
Excel - Active X Checkboxes Groups 45 32
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question