Improve company productivity with a Business Account.Sign Up

x
?
Solved

Microsoft Excel 2007 - Globally Changing all UPPERCASE to Proper Case

Posted on 2013-01-29
3
Medium Priority
?
323 Views
Last Modified: 2013-01-29
Hello!

I have a spreadsheet where everything is in upper case.  All of the columns and their content are all UPPER CASE.

I've seen some google "solution" for changing them to ProperCase, but it requires inserting new columns for each column to have a formula applied to it.

I would like a Formula or a Visual Basic script to globally change all columns in the spreadsheet to Proper Case.

Is this possible?  Windows Excel 2007.

Thanks

Rowby
0
Comment
Question by:Rowby Goren
3 Comments
 
LVL 23

Assisted Solution

by:NBVC
NBVC earned 200 total points
ID: 38831760
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 1800 total points
ID: 38831782
Try this sub

Sub cvproper()
    Dim cel As Range
    For Each cel In ActiveSheet.UsedRange
        If WorksheetFunction.IsText(cel) Then
            cel = WorksheetFunction.Proper(cel)
        End If
    Next cel
End Sub
0
 
LVL 9

Author Closing Comment

by:Rowby Goren
ID: 38831974
Thanks ssaqibh,

Your formula did the trick.

Thanks NB_VC for the informative link.

Rowby
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
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.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

606 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