Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I Change Case or tOGGLE cASE in Excel?

How do we Change Case to UPPER, Titel, Sentence, lower and tOGGLE case for
text within Excel?
Seems a simple one that MS would have taken care of by now.
Do we still have to take the data to MS Word and then change case (Shift+F3)
and then bring it back?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How do I Change Case or tOGGLE cASE in Excel?

The formulas are
=UPPER(A1)
=LOWER(A1)
=PROPER(A1)

--
If this post helps click Yes
---------------
Jacob Skaria


"Excel Phobic" wrote:

How do we Change Case to UPPER, Titel, Sentence, lower and tOGGLE case for
text within Excel?
Seems a simple one that MS would have taken care of by now.
Do we still have to take the data to MS Word and then change case (Shift+F3)
and then bring it back?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I Change Case or tOGGLE cASE in Excel?

You can use the functions upper, lower or proper in helper cells.

Or use macros to make the changes in place.

Sub Upper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = UCase(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub


Sub Lower()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = LCase(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub


Sub Proper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = Application.Proper(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub

Sub Sentence()
For Each Cell In Selection.Cells
S = Cell.Value
Start = True
For I = 1 To Len(S)
ch = Mid(S, I, 1)
Select Case ch
Case "."
Start = True
Case "?"
Start = True
Case "a" To "z"
If Start Then ch = UCase(ch): Start = False
Case "A" To "Z"
If Start Then Start = False Else ch = LCase(ch)
End Select
Mid(S, I, 1) = ch
Next


Gord Dibben MS Excel MVP
Cell.Value = S
Next
End Sub

On Wed, 17 Jun 2009 23:26:01 -0700, Excel Phobic <Excel
wrote:

How do we Change Case to UPPER, Titel, Sentence, lower and tOGGLE case for
text within Excel?
Seems a simple one that MS would have taken care of by now.
Do we still have to take the data to MS Word and then change case (Shift+F3)
and then bring it back?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change from upper case to proper case in excel 2002 CT Man[_2_] Excel Discussion (Misc queries) 8 January 8th 08 06:14 PM
How to change mixed case to upper case in Excel for all cells WordAlone Network Excel Discussion (Misc queries) 7 May 30th 07 05:53 AM
Excel: How do I change all upper case ss to proper case? Moosieb Excel Worksheet Functions 3 January 13th 06 12:45 AM
Change the text from lower case to upper case in an Excel work boo dave01968 Excel Discussion (Misc queries) 2 December 9th 05 09:09 AM
How do I change a column in Excel from upper case to lower case? Debbie Kennedy Excel Worksheet Functions 3 May 2nd 05 06:57 PM


All times are GMT +1. The time now is 05:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"