Solved

Microsoft Excel 2007 - Globally Changing all UPPERCASE to Proper Case

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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