View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.misc
Spikessong Spikessong is offline
external usenet poster
 
Posts: 1
Default What happened to "Change Case"?

How do I take the macro you gave me and put it into my Excel program?

"PlayingToAudienceOfOne" wrote:

Try this macro:
Sub Change_Case()
Dim ocell As Range
Dim Ans As String
Ans = Application.InputBox("Type in Letter" & vbCr & _
"(L)owercase, (U)ppercase, (S)entence, (T)itles ")
If Ans = "" Then Exit Sub
For Each ocell In Selection.SpecialCells(xlCellTypeConstants, 2)
Select Case UCase(Ans)
Case "L": ocell = LCase(ocell.Text)
Case "U": ocell = UCase(ocell.Text)
Case "S": ocell = UCase(Left(ocell.Text, 1)) & _
LCase(Right(ocell.Text, Len(ocell.Text) - 1))
Case "T": ocell = Application.WorksheetFunction.Proper(ocell.Text)
End Select
Next

"Deinekes" wrote:

Where is the "Change Case" menu item? Did Microsoft actually remove a useful
feature across version updates, or am I just paranoid?