Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Can an excel cell/column be forced to CAPITAL letters only?

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Can an excel cell/column be forced to CAPITAL letters only?

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
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
EXCEL Capital Letters hollis Excel Discussion (Misc queries) 1 November 11th 08 09:03 PM
Excel Capital Letters Humbertt Excel Discussion (Misc queries) 3 May 30th 07 06:08 AM
how to change existing column to capital letters fredg Excel Discussion (Misc queries) 3 January 16th 07 05:24 PM
Making Everything Capital Letters In A Column: How ? Robert11 New Users to Excel 8 October 9th 06 02:46 AM
How do I change a column of cells to all capital letters? morpattyjo Excel Worksheet Functions 4 March 13th 05 07:59 PM


All times are GMT +1. The time now is 01:25 AM.

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"