View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Amanda17 Amanda17 is offline
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.