Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Microsoft Excel 2007 - Globally Changing all UPPERCASE to Proper Case

Posted on 2013-01-29
3
Medium Priority
?
321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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,…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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.

610 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