Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Locking a cell column to upercase

Is it possible to lock a column so that it only displays and prints in
uppercase?
--
Cyberwolf
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Locking a cell column to upercase

i dont know about locking the cells but an easy way to display only caps
would be to change the font of the column to one that only displays capital
letters
try "HANA"

"Cyberwolf" wrote:

Is it possible to lock a column so that it only displays and prints in
uppercase?
--
Cyberwolf
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default Locking a cell column to upercase

Try using =upper() function. This allows you to reference a cell and make it
in all uppercase. Otherwise, you can use VBA to change a specific cell to
uppercase, but you'll have to run a macro or use the on selection change
within the worksheet to change it. Hope this helps!

-Chad

"Cyberwolf" wrote:

Is it possible to lock a column so that it only displays and prints in
uppercase?
--
Cyberwolf
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Locking a cell column to upercase

One way is to use event code on that column.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Not Application.Intersect(Range("A:A"), Target) Is Nothing Then
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
End If
ErrHandler:
Application.EnableEvents = True
End Sub

This is event code. Right-click on the sheet tab and "View Code"

Copy/paste the code into that sheet module.

As you enter text in column A it will change to upper case.


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 12:04:25 -0800, Cyberwolf
wrote:

Is it possible to lock a column so that it only displays and prints in
uppercase?


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 to format cells in upercase entry John Calder New Users to Excel 1 August 10th 06 03:51 AM
Locking column names pdgood Excel Discussion (Misc queries) 8 July 11th 06 05:11 PM
Microsoft Excel-locking a column Bonnie Excel Worksheet Functions 0 May 25th 06 03:48 PM
Locking column entries to an adjacent linked column Steeljaw Excel Discussion (Misc queries) 1 January 23rd 06 10:45 PM
Column widths - locking down Art Excel Discussion (Misc queries) 1 May 9th 05 11:00 PM


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