LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Alter text

By Formula assuming the data is in column A.......................

In an adjacent column enter =PROPER(A1)

Double-click on fill handle to copy down.

Copy/paste specialValues then delete original column A

With a macro.......................

Sub optProper_Click()
'David McRitchie, programming, 2003-03-07
Dim rng1 As Range, rng2 As Range, bigrange As Range
Dim cell As Range
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
On Error Resume Next
Set rng1 = Intersect(Selection, _
Selection.SpecialCells(xlCellTypeConstants))
Set rng2 = Intersect(Selection, _
Selection.SpecialCells(xlCellTypeFormulas))
On Error GoTo 0
If rng1 Is Nothing Then
Set bigrange = rng2
ElseIf rng2 Is Nothing Then
Set bigrange = rng1
Else
Set bigrange = Union(rng1, rng2)
End If
If bigrange Is Nothing Then
MsgBox "All cells in range are EMPTY"
GoTo done
End If
For Each cell In bigrange
cell.Formula = Application.Proper(cell.Formula)
Next cell
done:
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub


Gord Dibben MS Excel MVP

On Sat, 29 Jul 2006 13:23:06 -0400, Excel_help
wrote:


How would I alter text in every cell in a single column so that the word
is all lowercase except for the first letter which will be capitalized.

Would I require an add-in for this?

Thanks,
Andrew


 
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
alter column ref Kaz Excel Discussion (Misc queries) 3 April 27th 10 02:55 AM
Alter Text in 900 cell entries raywood Excel Worksheet Functions 2 July 9th 07 10:40 PM
How can I alter this Macro? [email protected] Excel Programming 1 January 9th 06 04:01 PM
how to alter cell format if cell contains text Heather at WEO Excel Worksheet Functions 4 July 28th 05 07:18 PM
How can I alter the size of the text box in an Excel Bob W. Charts and Charting in Excel 3 February 27th 05 06:28 PM


All times are GMT +1. The time now is 06:56 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"