PC Review


Reply
Thread Tools Rate Thread

Can an excel cell/column be forced to CAPITAL letters only?

 
 
DuncanM9
Guest
Posts: n/a
 
      19th Nov 2008
To simplify presentation of stock locations in a multi-user shared
spreadsheet I wish force all users to always show "GA05" or "AD03" style
rather than "ga05" or "Ad03" which will occur if not preset.
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      19th Nov 2008
Hi,

Right click your sheet tab, view code and paste this in. Change the range to
suit

Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "A1:A100" '<== change to suit
On Error GoTo ws_exit
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
Target.Formula = UCase(Target.Formula)
End If
ws_exit:
Application.EnableEvents = True
End Sub

Mike

"DuncanM9" wrote:

> To simplify presentation of stock locations in a multi-user shared
> spreadsheet I wish force all users to always show "GA05" or "AD03" style
> rather than "ga05" or "Ad03" which will occur if not preset.

 
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
Re: how to change existing column to capital letters Roger Govier Microsoft Excel Misc 2 16th Jan 2007 05:24 PM
Making Everything Capital Letters In A Column: How ? Robert11 Microsoft Excel New Users 8 9th Oct 2006 02:46 AM
How do I change a column of cells to all capital letters? =?Utf-8?B?bW9ycGF0dHlqbw==?= Microsoft Excel Worksheet Functions 4 13th Mar 2005 07:59 PM
How do i make text in one column all capital letters =?Utf-8?B?dHJhaW5zcG90dGVyMjA=?= Microsoft Excel New Users 3 28th Sep 2004 05:13 PM
capital letters and cell value caroline Microsoft Excel Programming 3 19th May 2004 05:19 PM


Features
 

Advertising
 

Newsgroups
 


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