Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing all CAPS in a worksheet

Status
Not open for further replies.

leda

MIS
Dec 3, 2001
43
CA
Hi!
Is there a way to change an entire worksheet that has all CAPS, into the "Proper" text format, without doing each cell individually?
thanks,
Leda
 
Yup,

function "proper"

just add a column for each column that has data, add the function, then copy the formula down the whole sheet, then you will have the new data in proper case,

one important thing though, after you have completed the above, copy and paste special-- "values" (otherwise when you delete the "old or orginal data" you will be left with #ref errors.

(essentially you convert the data to proper case, then paste the values and eliminate the formulas that got you there)

Ron
 
The only way I can think of doing this is in another sheet, say SHEET2, type the following command:

=PROPER(SHEET1!A1)

Then drag that cell down and across to as many cells as necessary, which will change TEXT to Text.

There are other options such as LOWER too, which you may want to use instead.
 
Hi,

Here's the VBA apprch...
Code:
For Each c In ActiveSheet.UsedRange
   c.Value = UCase(c.Value)
Next
Hope this helps :) Skip,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top