#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default uppercase

hi community,

how can i force a cell entry to have the text change to Uppercase?

any guidance much appreciated

10s community

:)
--
oldLearner57
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default uppercase

Select the sheet tab which you want to work with. Right click the sheet tab
and click on 'View Code'. This will launch VBE. Paste the below code to the
right blank portion. Get back to to workbook and try out.

'The below code works on cell A1. modify to suit

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Application.EnableEvents = False
Target = UCase(Target)
Application.EnableEvents = True
End If
End Sub

--
Jacob


"oldLearner57" wrote:

hi community,

how can i force a cell entry to have the text change to Uppercase?

any guidance much appreciated

10s community

:)
--
oldLearner57

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default uppercase

Do you want this to happen to a specific cell, or to a specific range of
cells, or to any cell in the sheet? Jacob gave you a solution for one cell.
Come back and provide more info on what you want to do. HTH Otto

"oldLearner57" wrote in message
...
hi community,

how can i force a cell entry to have the text change to Uppercase?

any guidance much appreciated

10s community

:)
--
oldLearner57


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default uppercase

10s! appreciated for the replied and it works!!
how then I can change to have the effect for say, example, to the whole
column?
I tried changed the .Address to ' .Range = "A1:A1" '
but i got an error.
can assist on this??

10s again

and 10s to community as well

Wish all a Blessed Merry X'mas
--
oldLearner57


"Jacob Skaria" wrote:

Select the sheet tab which you want to work with. Right click the sheet tab
and click on 'View Code'. This will launch VBE. Paste the below code to the
right blank portion. Get back to to workbook and try out.

'The below code works on cell A1. modify to suit

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Application.EnableEvents = False
Target = UCase(Target)
Application.EnableEvents = True
End If
End Sub

--
Jacob


"oldLearner57" wrote:

hi community,

how can i force a cell entry to have the text change to Uppercase?

any guidance much appreciated

10s community

:)
--
oldLearner57

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default uppercase

Range("A:A") Otto

"oldLearner57" wrote in message
...
10s! appreciated for the replied and it works!!
how then I can change to have the effect for say, example, to the whole
column?
I tried changed the .Address to ' .Range = "A1:A1" '
but i got an error.
can assist on this??

10s again

and 10s to community as well

Wish all a Blessed Merry X'mas
--
oldLearner57


"Jacob Skaria" wrote:

Select the sheet tab which you want to work with. Right click the sheet
tab
and click on 'View Code'. This will launch VBE. Paste the below code to
the
right blank portion. Get back to to workbook and try out.

'The below code works on cell A1. modify to suit

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Application.EnableEvents = False
Target = UCase(Target)
Application.EnableEvents = True
End If
End Sub

--
Jacob


"oldLearner57" wrote:

hi community,

how can i force a cell entry to have the text change to Uppercase?

any guidance much appreciated

10s community

:)
--
oldLearner57


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
uppercase [email protected] Excel Discussion (Misc queries) 2 May 6th 10 08:19 PM
Uppercase S. Kissing Excel Discussion (Misc queries) 1 July 24th 09 05:57 PM
Uppercase help Randy L Excel Discussion (Misc queries) 0 November 29th 06 06:46 PM
Uppercase help Tom T Excel Discussion (Misc queries) 0 November 29th 06 03:53 PM
Uppercase Real Dummy Excel Worksheet Functions 1 April 22nd 06 01:46 AM


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