Solved

Microsoft Excel 2007 - Globally Changing all UPPERCASE to Proper Case

Posted on 2013-01-29
3
277 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

910 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

20 Experts available now in Live!

Get 1:1 Help Now