Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Changing to Proper Case

How can i change a whole database of capitals to proper case, i know the
=PROPER formula but i cant figure out how to work it for the whole
spreadsheet. Can someone PLEASE help me I really need this for work.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Changing to Proper Case

Hi Amanda

do you need to do it once, or lots of time?

If you need to do it once, make a new sheet, enter this formula to A1:
=proper(sheet1!A1)
you need to change sheet1 to whatever your sheetname is.
then, take the cell handler, and drag it down (may take a while)
After that with the whole column A selected, take the handler again
and drag it to the right to column IV.
Then press Ctrl+C, then right-click, paste special..., choose "values"

if you need to do it often, a sub might come in handy.
Something like:

Sub AllToProper()

For Each cell_ In ActiveSheet.UsedRange
If cell_.Value < "" Then
cell_.Value =
Application.WorksheetFunction.Proper(cell_.Value)
End If

Next cell_

End Sub

hth

Carlo

On Jan 9, 9:36*am, Amanda17
wrote:
How can i change a whole database of capitals to proper case, i know the
=PROPER formula but i cant figure out how to work it for the whole
spreadsheet. Can someone PLEASE help me I really need this for work.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Changing to Proper Case

Thanks for your help, does this mean i need to copy each column (eg A, B, C,
D) individually into the new spreadshee. Its a huge database wit about 2,000
names and address and for mail merging purposes i require it in proper case.

"carlo" wrote:

Hi Amanda

do you need to do it once, or lots of time?

If you need to do it once, make a new sheet, enter this formula to A1:
=proper(sheet1!A1)
you need to change sheet1 to whatever your sheetname is.
then, take the cell handler, and drag it down (may take a while)
After that with the whole column A selected, take the handler again
and drag it to the right to column IV.
Then press Ctrl+C, then right-click, paste special..., choose "values"

if you need to do it often, a sub might come in handy.
Something like:

Sub AllToProper()

For Each cell_ In ActiveSheet.UsedRange
If cell_.Value < "" Then
cell_.Value =
Application.WorksheetFunction.Proper(cell_.Value)
End If

Next cell_

End Sub

hth

Carlo

On Jan 9, 9:36 am, Amanda17
wrote:
How can i change a whole database of capitals to proper case, i know the
=PROPER formula but i cant figure out how to work it for the whole
spreadsheet. Can someone PLEASE help me I really need this for work.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Changing to Proper Case

To change the entire used range on a worksheet at once would require a Macro.

Here is one to change all cells to Proper Case.

Sub Proper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = Application.Proper(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub

If you're not familiar with VBA and macros, see David McRitchie's site for
more on "getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

or Ron de De Bruin's site on where to store macros.

http://www.rondebruin.nl/code.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + r to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run or edit the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo.


Gord

On Tue, 8 Jan 2008 16:36:02 -0800, Amanda17
wrote:

How can i change a whole database of capitals to proper case, i know the
=PROPER formula but i cant figure out how to work it for the whole
spreadsheet. Can someone PLEASE help me I really need this for work.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Changing to Proper Case

Im not the greatest with Excel so all this seems a little confusing, where
do i put the formula so i can copy and paste it into the new worksheet

"Gord Dibben" wrote:

To change the entire used range on a worksheet at once would require a Macro.

Here is one to change all cells to Proper Case.

Sub Proper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = Application.Proper(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub

If you're not familiar with VBA and macros, see David McRitchie's site for
more on "getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

or Ron de De Bruin's site on where to store macros.

http://www.rondebruin.nl/code.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + r to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run or edit the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo.


Gord

On Tue, 8 Jan 2008 16:36:02 -0800, Amanda17
wrote:

How can i change a whole database of capitals to proper case, i know the
=PROPER formula but i cant figure out how to work it for the whole
spreadsheet. Can someone PLEASE help me I really need this for work.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Changing to Proper Case

A step by step for the solution without VBA:
(At least you'll be able to work then, if you need more then that, you
could still ask later)

1. Add a new sheet to your workbook (i call it sheet1)
(You don't need to rename it yet!!!)
2. enter this formula into A1 on your new sheet:
=proper(YourSheet!A1)
(where YourSheet should be changed to the name of the relevant sheet)
3. Hit Enter
4. Select A1
5. Click and Hold the Handler
(lower right corner, the small dot on the border of your selection)
6. Drag the Handler down as far as you need it (around 2000 i assume)
7. Let the Handler go
8. Click again on the Handler and now Drag it to the right, as far as
you need it.
9. Press Ctrl + C
(Do not deselect after releasing the handler, otherwise you have to
reselect all your used cells)
10. Right click on A1
11. Choose "Paste Special..."
12. Check the "Values" option
13. Press Ok
14. Delete your sheet with the uppercase data
15. Rename sheet1 according to the old sheet.

hth

Carlo

On Jan 9, 11:47*am, Amanda17
wrote:
Im not the greatest with Excel so all *this seems a little confusing, where
do i put the formula so i can copy and paste it into the new worksheet



"Gord Dibben" wrote:
To change the entire used range on a worksheet at once would require a Macro.


Here is one to change all cells to Proper Case.


Sub Proper()
Dim Cell As Range
Application.ScreenUpdating = False
* * * * For Each Cell In Selection
* * * * * * *Cell.Formula = Application.Proper(Cell.Formula)
* * Next
Application.ScreenUpdating = True
End Sub


If you're not familiar with VBA and macros, see David McRitchie's site for
more on "getting started".


http://www.mvps.org/dmcritchie/excel/getstarted.htm


or Ron de De Bruin's site on where to store macros.


http://www.rondebruin.nl/code.htm


In the meantime..........


First...create a backup copy of your original workbook.


To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

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
Changing a whole spreadsheet to proper case Amanda17 Excel Discussion (Misc queries) 1 January 8th 08 09:52 AM
Changing Entries to Proper and Upper Case Q Sean Excel Worksheet Functions 4 April 1st 07 03:46 PM
excel'03 how to convert a column from upper case to proper case sharie palmer Excel Discussion (Misc queries) 1 January 30th 06 11:50 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM
Changing Upper case to Proper Case Mountain Excel Worksheet Functions 1 January 13th 05 10:37 PM


All times are GMT +1. The time now is 01:07 PM.

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"