Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default All Caps, / All Lower, not the function

Hi, am wondering if there is Custom Format, or a obtainable button (as in
ms-word for all caps). Have a strong need to have some columns data entered
just lower case, and some upper. Guesse would suggest include a "proper"
button as well.
thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default All Caps, / All Lower, not the function


No special button in Excel, you have to use one of the existing functions or write one.
However, why not use the Caps Lock key on the keyboard?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming - check out "XL Extras")



"Nastech"
wrote in message
Hi, am wondering if there is Custom Format, or a obtainable button (as in
ms-word for all caps). Have a strong need to have some columns data entered
just lower case, and some upper. Guesse would suggest include a "proper"
button as well.
thanks.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default All Caps, / All Lower, not the function

changes from 1 col to the next, lower, upper..

"Jim Cone" wrote:


No special button in Excel, you have to use one of the existing functions or write one.
However, why not use the Caps Lock key on the keyboard?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming - check out "XL Extras")



"Nastech"
wrote in message
Hi, am wondering if there is Custom Format, or a obtainable button (as in
ms-word for all caps). Have a strong need to have some columns data entered
just lower case, and some upper. Guesse would suggest include a "proper"
button as well.
thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default All Caps, / All Lower, not the function

Generally, I just use =UPPER(A1) in an empty cell, copy it down, then
copy/paste special/values over my original data and delete the helper column.
If you want a button, you could use a small macro and assign it to a button:

Sub UpperCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = UCase(rngCell.Value)
Next rngCell

End Sub

Sub LowerCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = LCase(rngCell.Value)
Next rngCell

End Sub


Sub ProperCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = Application.Proper(rngCell.Value)
Next rngCell

End Sub


"Nastech" wrote:

changes from 1 col to the next, lower, upper..

"Jim Cone" wrote:


No special button in Excel, you have to use one of the existing functions or write one.
However, why not use the Caps Lock key on the keyboard?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming - check out "XL Extras")



"Nastech"
wrote in message
Hi, am wondering if there is Custom Format, or a obtainable button (as in
ms-word for all caps). Have a strong need to have some columns data entered
just lower case, and some upper. Guesse would suggest include a "proper"
button as well.
thanks.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default All Caps, / All Lower, not the function

Be aware the this code will wipe out any formulas you may have in the range.

Best to go with this revision to look for formulas.............

Sub Upper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
If Not Cell.HasFormula Then
Cell.Value = UCase(Cell.Value)
End If
Next
Application.ScreenUpdating = True
End Sub

Or this one which is slightly shorter....................

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


Gord Dibben MS Excel MVP

On Sun, 6 Jan 2008 21:44:03 -0800, JMB wrote:

Generally, I just use =UPPER(A1) in an empty cell, copy it down, then
copy/paste special/values over my original data and delete the helper column.
If you want a button, you could use a small macro and assign it to a button:

Sub UpperCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = UCase(rngCell.Value)
Next rngCell

End Sub

Sub LowerCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = LCase(rngCell.Value)
Next rngCell

End Sub


Sub ProperCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = Application.Proper(rngCell.Value)
Next rngCell

End Sub


"Nastech" wrote:

changes from 1 col to the next, lower, upper..

"Jim Cone" wrote:


No special button in Excel, you have to use one of the existing functions or write one.
However, why not use the Caps Lock key on the keyboard?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming - check out "XL Extras")



"Nastech"
wrote in message
Hi, am wondering if there is Custom Format, or a obtainable button (as in
ms-word for all caps). Have a strong need to have some columns data entered
just lower case, and some upper. Guesse would suggest include a "proper"
button as well.
thanks.




  #6   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default All Caps, / All Lower, not the function

good call - thanks!

"Gord Dibben" wrote:

Be aware the this code will wipe out any formulas you may have in the range.

Best to go with this revision to look for formulas.............

Sub Upper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
If Not Cell.HasFormula Then
Cell.Value = UCase(Cell.Value)
End If
Next
Application.ScreenUpdating = True
End Sub

Or this one which is slightly shorter....................

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


Gord Dibben MS Excel MVP

On Sun, 6 Jan 2008 21:44:03 -0800, JMB wrote:

Generally, I just use =UPPER(A1) in an empty cell, copy it down, then
copy/paste special/values over my original data and delete the helper column.
If you want a button, you could use a small macro and assign it to a button:

Sub UpperCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = UCase(rngCell.Value)
Next rngCell

End Sub

Sub LowerCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = LCase(rngCell.Value)
Next rngCell

End Sub


Sub ProperCase()
Dim rngCell As Range

For Each rngCell In Selection.Cells
rngCell.Value = Application.Proper(rngCell.Value)
Next rngCell

End Sub


"Nastech" wrote:

changes from 1 col to the next, lower, upper..

"Jim Cone" wrote:


No special button in Excel, you have to use one of the existing functions or write one.
However, why not use the Caps Lock key on the keyboard?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming - check out "XL Extras")



"Nastech"
wrote in message
Hi, am wondering if there is Custom Format, or a obtainable button (as in
ms-word for all caps). Have a strong need to have some columns data entered
just lower case, and some upper. Guesse would suggest include a "proper"
button as well.
thanks.



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
Change from mixed caps and upper lower to all upper lower case Fish''s Mermaid Excel Worksheet Functions 3 October 13th 06 03:15 PM
Formula for changing all caps to lower case PFLY Excel Discussion (Misc queries) 1 May 24th 06 06:03 PM
Convert all caps to lower case RuBarb New Users to Excel 3 January 23rd 06 09:30 PM
Caps to lower case Christopher Anderson Excel Discussion (Misc queries) 2 January 5th 05 05:38 PM
Change source text in Excel from all caps to upper and lower case. JoanS Excel Discussion (Misc queries) 2 December 16th 04 03:11 AM


All times are GMT +1. The time now is 05:31 AM.

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

About Us

"It's about Microsoft Excel"