What happened to "Change Case"?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Where is the "Change Case" menu item? Did Microsoft actually remove a useful
feature across version updates, or am I just paranoid?
 
Paranoid, there has never been a change case menu item in Excel, if you had
it in an earlier version it must have been a 3rd party add-in like ASAP
utilities etc.
 
Thanks for the answer, folks! You were right: paranoia. I checked it out
myself, as well. Word 2003 -- yes, Excel 2003 -- no. The fact that I use
OpenOffice as well -- and it IS a Format menu item there -- explains the
source of my confusion. Looks like I need to stop comparing Excel to free
software. :-)

Thanks again for the quick response.
 
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
 
Thanks!

PlayingToAudienceOfOne said:
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
 
Tack och hej då!

Peo Sjoblom said:
Paranoid, there has never been a change case menu item in Excel, if you had
it in an earlier version it must have been a 3rd party add-in like ASAP
utilities etc.
 
How do I take the macro you gave me and put it into my Excel program?
 
The first think you do is keep your reply in the same thread you started.
Then people will know who you are talking to.

Regards,
Fred.
 
great macro! saved me alot of time...
might i suggest wrapping the select case with "If ocell <> "" Then", "elseif"
so that you can sellect a range that includes empty cells...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top