Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Nicole
 
Posts: n/a
Default How do i make every first letter caps?

Im typing business names and want to know if there is a way to automaticly
make every first letter in caps
  #2   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default How do i make every first letter caps?

Hi Nicole,
See http://www.mvps.org/dmcritchie/excel/proper.htm
You would install both proper_case and proper_case_inner macros.
The reason for one macro invoking the other is to reduce the need for duplicate code.

You can customize how some names are to be capitalized such as
McRitchie, de Bruin, von Allen

I would not advise doing this automatically with an Event macro, because you will
always have exceptions, and watching things change after you hit enter can be a wee
bit frustrating. As far as while you type without entering that is not possible in Excel.
--
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Nicole" wrote in message ...
Im typing business names and want to know if there is a way to automaticly
make every first letter in caps



  #3   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default How do i make every first letter caps?

Nicole

Automatically would require VBA code.

Do you want that?

Example................

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column 8 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = Application.Proper(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub

This is worksheet event code.

Right-click on the sheet tab and "View Code"

Copy the above code into that module.

As written it operates on the first 8 columns of the sheet.


Gord Dibben Excel MVP

On Wed, 16 Nov 2005 13:39:58 -0800, Nicole
wrote:

Im typing business names and want to know if there is a way to automaticly
make every first letter in caps


  #4   Report Post  
Posted to microsoft.public.excel.misc
Michael
 
Posts: n/a
Default How do i make every first letter caps?

Hi Nicole. Assuming you type your business names in Column A, say starting
with independent construction in A2, you could type in B2: =Proper(A2) and
it will convert A2 to Independent Construction. Copy B2 down as far as
needed and then Copy, Paste Special, Values. You could then delete column A.
HTH
--
Sincerely, Michael Colvin


"Nicole" wrote:

Im typing business names and want to know if there is a way to automaticly
make every first letter in caps

  #5   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default How do i make every first letter caps?

Good point David.


Gord

On Wed, 16 Nov 2005 17:25:33 -0500, "David McRitchie"
wrote:

I would not advise doing this automatically with an Event macro, because you will
always have exceptions, and watching things change after you hit enter can be a wee
bit frustrating. As far as while you type without entering that is not possible in Excel.


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 make a 3-dimensional plot in Excel? John W. Mordosky Charts and Charting in Excel 6 April 3rd 23 06:58 PM
make a letter in a cell automatically equal a dollar amount kimzim Excel Discussion (Misc queries) 1 August 17th 05 08:26 PM
Make 1 Million Dollars $$ George New Users to Excel 3 August 16th 05 09:27 PM
make hidden window or workbook visible without specify the name mango Excel Worksheet Functions 1 December 30th 04 03:05 PM
make cell contents equal to null value - not blank, but empty mpierre Excel Worksheet Functions 1 December 29th 04 06:57 AM


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