Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 10-25-2004, 12:00   #1 (permalink)
NYBoy
Civilians

 
Default automatic capital letters


2 Questions.

(1) I would like to set up the row so that ALL LETTERS in that ro
would become Capital letter auromatically.

(2) In the second row, I would like excel to capitalize the FIRS
letter of each word automatically as I type in the cell

--
NYBo
-----------------------------------------------------------------------
NYBoy's Profile: http://www.excelforum.com/member.php...nfo&userid=836
View this thread: http://www.excelforum.com/showthread.php?threadid=27207

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 10-25-2004, 12:00   #2 (permalink)
Paul B
Civilians

 
Default Re: automatic capital letters

NYBoy, put this in the worksheet code

Private Sub Worksheet_Change(ByVal Target As Range)
'will change row 1 to caps, row 2 to proper
On Error GoTo Error_handler

With Target
If Not .HasFormula Then
Application.EnableEvents = False
If Target.Row = 1 Then Target.Value = UCase(Target.Value)
If Target.Row = 2 Then Target.Value = Application.Proper(Target.Value)

Application.EnableEvents = True
End If
End With

Error_handler:
Resume Next

End Sub


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **

"NYBoy" <NYBoy.1eoq5b@excelforum-nospam.com> wrote in message
news:NYBoy.1eoq5b@excelforum-nospam.com...
>
> 2 Questions.
>
> (1) I would like to set up the row so that ALL LETTERS in that row
> would become Capital letter auromatically.
>
> (2) In the second row, I would like excel to capitalize the FIRST
> letter of each word automatically as I type in the cell.
>
>
> --
> NYBoy
> ------------------------------------------------------------------------
> NYBoy's Profile:
> http://www.excelforum.com/member.php...fo&userid=8360
> View this thread: http://www.excelforum.com/showthread...hreadid=272072
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
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
A CAPITAL EVENT (Quiz) conlor Games/Quizzes 0 03-25-2007 00:15
Jumbled letters Jeff High Chit-Chat 25 01-07-2007 00:13
Coverting from 3 letters to 1 Pookie76 Microsoft Applications 5 09-21-2005 12:00
capital letters HGood Microsoft Applications 5 01-11-2005 23:00
Automatic Capital letter entry hinterland_1 Microsoft Applications 8 06-16-2004 03:31


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:32.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.73456 seconds with 19 queries