Solved

Excel 2010-Upper Case Letters to Every Word in Spreadsheet

Posted on 2013-06-06
10
334 Views
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
0
Comment
Question by:FrankSasso
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 48

Expert Comment

by:Rgonzo1971
ID: 39228174
Hi

Pls try on your selected cells

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

Open in new window


Regards
0
 

Author Comment

by:FrankSasso
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?
0
 
LVL 48

Expert Comment

by:Rgonzo1971
ID: 39228187
Hi,

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

Regards
0
 

Author Comment

by:FrankSasso
ID: 39228196
Hi expert, i have selected the cells but dont know how to then run the code in excel 2010?
0
 
LVL 48

Expert Comment

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

Regards
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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
0
 
LVL 45

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.
0
 
LVL 45

Expert Comment

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

Accepted Solution

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

Author Closing Comment

by:FrankSasso
ID: 39270714
all expert suggestions were not what worked for me
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now