PC Review


Reply
 
 
Doug
Guest
Posts: n/a
 
      12th Aug 2009
I have a column that I want it to always show caps when I type in text. How
can I set the formatting for this?

Thanks
--

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      12th Aug 2009
Right click sheet tab>view code>insert this>change column to suit needs.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 1 Then Exit Sub
Application.EnableEvents = file
Target.Value = UCase(Target)
Application.EnableEvents = True
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Doug" <(E-Mail Removed)> wrote in message
news:E16E7FA8-51A8-4CC6-A3B3-(E-Mail Removed)...
>I have a column that I want it to always show caps when I type in text. How
> can I set the formatting for this?
>
> Thanks
> --
>


 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      12th Aug 2009
Right click the sheet tab>View code and paste the below code which will work
on Col A

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Not Application.Intersect(Target, Range("A:A")) Is Nothing Then
If Target.Count = 1 Then Target = UCase(Target.Text)
End If
Application.EnableEvents = True
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Doug" wrote:

> I have a column that I want it to always show caps when I type in text. How
> can I set the formatting for this?
>
> Thanks
> --
>

 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      12th Aug 2009
This is one way, using column A as the target column. The code goes into
the Sheet code module. Right click the sheet tab and select view code to
open the code windowl

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A:A")) Is Nothing Then
Target.Value = UCase(Target.Value)
End If

End Sub



"Doug" <(E-Mail Removed)> wrote in message
news:E16E7FA8-51A8-4CC6-A3B3-(E-Mail Removed)...
>I have a column that I want it to always show caps when I type in text. How
> can I set the formatting for this?
>
> Thanks
> --
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare capitals with non-capitals PayeDoc Microsoft Access Queries 7 9th Jul 2009 01:34 PM
All Capitals lostinformulas Microsoft Excel Worksheet Functions 6 14th Jun 2006 08:07 PM
capitals =?Utf-8?B?Q2FtZWxpYQ==?= Microsoft Word Document Management 4 25th May 2006 11:22 PM
Capitals Richard Microsoft Excel Worksheet Functions 3 25th Feb 2004 12:15 PM
Capitals Bill Microsoft Excel Discussion 0 3rd Aug 2003 07:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:49 PM.