Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

need to make empty cell to type upper case letters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chusu - 04 Oct 2007 06:34 GMT
I have an excel file I want all text that will be typed in the empty
cells should be upper case.  So I have the formula in them and when I
type "msft" and hit enter it should give me "MSFT"
troy@eXL - 04 Oct 2007 06:51 GMT
> I have an excel file I want all text that will be typed in the empty
> cells should be upper case.  So I have the formula in them and when I
> type "msft" and hit enter it should give me "MSFT"

Hi Chusu,

Not sure you can do it that way. I'd think any formula you have in the
cell will be overwritten and destroyed when you type msft.

Alternatively, after doing all the typing you need to, you can run a
quick macro that changes all text to uppercase. Use this:

Sub upCase()

For Each cell In Selection
    cell.Value = UCase(cell.Value)
Next cell

End Sub

All you need to do is select the range you want converted then run the
macro!

HTH

cheers,
t.

www.eXtreme-eXcel.com
...be indispensable... you'll Double Your Salary!
Stefi - 04 Oct 2007 08:37 GMT
You can do that using UCase() in a Change event macro:
Private Sub Worksheet_Change(ByVal Target As Range)
   If Target.Column = 1 Then   'column A
       Target.Value = UCase(Target.Value)
   End If
End Sub

This example works on column A.

Regards,
Stefi

„troy@eXL” ezt írta:

> > I have an excel file I want all text that will be typed in the empty
> > cells should be upper case.  So I have the formula in them and when I
[quoted text clipped - 26 lines]
> www.eXtreme-eXcel.com
> ....be indispensable... you'll Double Your Salary!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.