#1   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default Upper Case


Is there a way to set particular cells so that no matter what is typed
into them it will always apear in upper case. I realise you can do this
if you set the column next to it to read =upper([cell ref]) but i dont
want to do it this way is there an alternatve perhaps via code im not
sure


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=545914

  #2   Report Post  
Posted to microsoft.public.excel.misc
ngenear11
 
Posts: n/a
Default Upper Case


One possible solution is to use the Worksheet_Change event. I have not
assembled any code to solve your problem directly, but I have used this
event to perform similar tasks. Hope this is a start


--
ngenear11
------------------------------------------------------------------------
ngenear11's Profile: http://www.excelforum.com/member.php...o&userid=34844
View this thread: http://www.excelforum.com/showthread...hreadid=545914

  #3   Report Post  
Posted to microsoft.public.excel.misc
Daniel CHEN
 
Posts: n/a
Default Upper Case

You can download some free add-in which allows you to change a range of text
to upper case immediately, not use Upper function on each individual cell.


--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"ceemo" wrote in
message ...

Is there a way to set particular cells so that no matter what is typed
into them it will always apear in upper case. I realise you can do this
if you set the column next to it to read =upper([cell ref]) but i dont
want to do it this way is there an alternatve perhaps via code im not
sure


--
ceemo
------------------------------------------------------------------------
ceemo's Profile:
http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=545914



  #4   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default Upper Case


thanks for your advise but im looking for someonthing automated as
others will be using the workbook and i want to keep manual
intervention to the minimum


suggestions welcome


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=545914

  #5   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default Upper Case

ceemo

Right-click on the sheet tab and "View Code".

Paste this code into that sheet module.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column 3 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub


In columns A, B and C any text typed into a cell will be Upper case.
Adjust range to suit.


Gord Dibben MS Excel MVP


On Fri, 26 May 2006 12:53:58 -0500, ceemo
wrote:


thanks for your advise but im looking for someonthing automated as
others will be using the workbook and i want to keep manual
intervention to the minimum


suggestions welcome




  #6   Report Post  
Posted to microsoft.public.excel.misc
ngenear11
 
Posts: n/a
Default Upper Case


here is an example of how to use the event
right click on the sheet tab and click "view code"
paste the code below into the vb screen that opens

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Range("A1").Select


strSelected = ActiveCell.Value
UpperString = UCase(strSelected)
ActiveCell.Value = UpperString
End Sub

whatever you type in range a1 will be uppercase once you leave the
cell.
you could extend this to more cells.


--
ngenear11
------------------------------------------------------------------------
ngenear11's Profile: http://www.excelforum.com/member.php...o&userid=34844
View this thread: http://www.excelforum.com/showthread...hreadid=545914

  #7   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default Upper Case


excellent thank you peeps


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=545914

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
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
EXCEL:NUMBER TO GREEK WORDS vag Excel Worksheet Functions 1 June 15th 05 05:57 PM
convert value in word. For Exampe Rs.115.00 convert into word as . Shakti Excel Discussion (Misc queries) 1 May 10th 05 12:00 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM


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