Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kroberts
 
Posts: n/a
Default excel sheet all caps and needs to be only the first letter caps..

I have an excel shhet that is all caps and I would like to change only the
first letter to caps without retyping the whole sheet...is this possible?
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

There is no built in way to do this. You can use the following
macro to do this.

Sub AAA()
Dim Rng As Range
For Each Rng In ActiveSheet.UsedRange.SpecialCells( _
xlCellTypeConstants, xlTextValues)
Rng.Value = UCase(Left(Rng.Text, 1)) & Mid(Rng.Text, 2)
Next Rng
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"kroberts" wrote in message
...
I have an excel shhet that is all caps and I would like to
change only the
first letter to caps without retyping the whole sheet...is this
possible?



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



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

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"