Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 349
Default how do i change a full excel sheet to proper after it has been ty.

how do i change a full excel sheet to proper after it has been typed
see i have typed up a spreed sheet but as i have realized the first string
is still in lower case is there a way to change the whole work sheet at once
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default how do i change a full excel sheet to proper after it has been ty.

Depends what you mean by a 'whole' worksheet.

To change a column of text values to proper, insert a blank column adjacent
to the one iwth the text values. Say the text values are in A, and you've
inserted a new, empty B column

Use this formula in B1 and copy it down as needed

=PROPER(A1)

Now select all the formula values and Edit-Copy
Select all the original values in A and Edit-Paste Special-Values
Delete column B



"peter" wrote:

how do i change a full excel sheet to proper after it has been typed
see i have typed up a spreed sheet but as i have realized the first string
is still in lower case is there a way to change the whole work sheet at once

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default how do i change a full excel sheet to proper after it has been ty.

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 Wed, 30 May 2007 02:18:01 -0700, peter
wrote:

how do i change a full excel sheet to proper after it has been typed
see i have typed up a spreed sheet but as i have realized the first string
is still in lower case is there a way to change the whole work sheet at once


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
how do i change a case to proper text in excel 2003 BBD Excel Worksheet Functions 1 September 20th 06 01:21 AM
How do I change all cells to Proper text in Excel Bruce Excel Worksheet Functions 1 October 4th 05 05:11 PM
how can I change case to Proper on a worksheet PlsHelp Excel Discussion (Misc queries) 2 July 8th 05 09:01 PM
saving excel with multiple sheets, but won't save to proper sheet jimlead1 Excel Discussion (Misc queries) 0 May 4th 05 06:36 PM
How to change the Excel Title Bar to show the full file path na... lmilkey8855 Excel Discussion (Misc queries) 2 January 6th 05 03:08 PM


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