Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing a whole spreadsheet to proper case | Excel Discussion (Misc queries) | |||
Changing Entries to Proper and Upper Case Q | Excel Worksheet Functions | |||
excel'03 how to convert a column from upper case to proper case | Excel Discussion (Misc queries) | |||
Macro for changing text to Proper Case | Excel Worksheet Functions | |||
Changing Upper case to Proper Case | Excel Worksheet Functions |