Solved

Microsoft Excel 2007 - Globally Changing all UPPERCASE to Proper Case

Posted on 2013-01-29
3
302 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 50 total points
ID: 38831760
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 450 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

733 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