#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default auto caps lock

hi,

how to set outo caps loc (beside turn on caps lock button) at sepcifiy cell.
if any latter enter into cell , he will change to caps lock .

rgds
ramzi
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default auto caps lock

hi, ramzi !

how to set outo caps loc (beside turn on caps lock button) at sepcifiy cell.
if any latter enter into cell, he will change to caps lock.


if available, try to change the font for your range/worksheet/workbook/style/...
(no other tricks/code/stuff/... needed)

this fonts shows text un uppercase:
- Castellar
- Engravers MT
- Felix Titling
- Stencil
- Technic (*versalles* type)

this font shows text in lowercase:
- Freshbot
- Poornut
- Pussycat

hth,
hector.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default auto caps lock

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

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

Copy/paste the above into the sheet module. Edot the range if need then
Alt + q to return to the Exel window.


Gord Dibben MS Excel MVP

On Fri, 25 Jul 2008 00:05:01 -0700, ramzi
wrote:

hi,

how to set outo caps loc (beside turn on caps lock button) at sepcifiy cell.
if any latter enter into cell , he will change to caps lock .

rgds
ramzi


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
is it possible to disable the CAPS LOCK key ? atoach Excel Discussion (Misc queries) 4 July 26th 07 10:45 PM
How do I set caps lock as default? Mark Barnard Excel Worksheet Functions 1 April 15th 07 03:17 PM
Caps Lock and excel help Massimo Setting up and Configuration of Excel 2 October 30th 06 10:35 AM
forcing caps lock XCESIV Excel Worksheet Functions 1 May 31st 06 04:18 AM
Reverse Caps Lock Amy Excel Discussion (Misc queries) 1 December 1st 05 04:18 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"