can anyone tell me how to change the text of my worksheet from lowercase to uppercase. I have read the help in excel and to be honest it makes no sense to me what so ever
Thanks in advance
Bruno
Please note that on 14th December 2023 users will experience an expected outage whilst we make upgrades to our network. We anticipate this process may take a couple of hours and so we apologise in advance for any inconvenience.
can anyone tell me how to change the text of my worksheet from lowercase to uppercase. I have read the help in excel and to be honest it makes no sense to me what so ever
Thanks in advance
Bruno
Sure, A1 houses my Text "Denis", B1 and B2 contain the formulae to convert this to uppercase and lower case:
<CENTER><TABLE borderColor=#c0c0c0 cellSpacing=0 width="60%" align=center border=1><TBODY><TR><TD bgColor=#0c266b colSpan=5><TABLE width="100%" align=center border=0><TBODY><TR><TD align=left><FONT color=white><B>Microsoft Excel - Book1</B></FONT></TD><TD align=right><FONT color=white size=2>___Running: xl2000 : OS = Windows NT 4 </FONT></TD></TR></TBODY></TABLE></TD></TR><TR><TD bgColor=#d4d0c8 colSpan=5><TABLE height=10 width="100%" align=center border=0 VALIGN="MIDDLE"><TBODY><TR><TD>(<U>F</U>)ile (<U>E</U>)dit (<U>V</U>)iew (<U>I</U>)nsert (<U>O</U>)ptions (<U>T</U>)ools (<U>D</U>)ata (<U>W</U>)indow (<U>H</U>)elp</TD><TD vAlign=center align=right><FORM name=formCb5705><INPUT onclick='window.clipboardData.setData("Text",document.formFb4266.sltNb5992.value);' type=button value="Copy Formula" name=btCb2288></FORM></TD></TR></TBODY></TABLE></TD></TR><TR><TD bgColor=white colSpan=5><TABLE border=0><TBODY><TR><FORM name=formFb4266><TD align=middle width="5%" bgColor=white><SELECT onchange="document.formFb4266.txbFb6925.value = document.formFb4266.sltNb5992.value" name=sltNb5992><OPTION value==UPPER(A1) selected>B1<OPTION value==LOWER(B1)>B2</OPTION></SELECT></TD><TD align=right width="3%" bgColor=#d4d0c8><B>=</B></TD><TD align=left bgColor=white><INPUT size=120 value==UPPER(A1) name=txbFb6925></TD></FORM></TR></TBODY></TABLE></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><BR></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>A</CENTER></B></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>B</CENTER></B></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>C</CENTER></B></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>D</CENTER></B></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>1</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>Denis</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb4266.sltNb5992.options[0].selected=true; document.formFb4266.txbFb6925.value = document.formFb4266.sltNb5992.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>DENIS</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>2</CENTER></B></TD><TD bgColor=#ffffff><BR></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb4266.sltNb5992.options[1].selected=true; document.formFb4266.txbFb6925.value = document.formFb4266.sltNb5992.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>denis</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD colSpan=5><U>Sheet1</U></TD></TR></TBODY></TABLE><BR><FONT color=#339966>To see the formula in the cells just click on the cells hyperlink or click the Name box</FONT><BR><FONT color=red size=2>PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.</FONT><BR><BR><FONT color=#339966 size=1>The above image was automatically generated by [HtmlMaker 2.12] </FONT><FONT color=#339966 size=1>If you want this FREE SOFT, <A href="http://www.interq.or.jp/sun/puremis/colo/HtmlMaker.htm">click here</A> to download</FONT><BR><FONT color=#339966 size=1>This code was graciously allowed to be modified: by <A href="mailto:[email protected]">Ivan F Moala</A> All credit to <A href="mailto:[email protected]">Colo</A></FONT><BR></CENTER>
thankyou for your reply, but im still strugling, what i have done is, made a database of my music with artist name in A1 and title in B1 and so on, could you help me on this?
The free addin from http://www.asap-utilities.com might help.
In the Text menu provided by this there is an option to make a selected range, Upper Case. Lower Case, start each word with Upper Case. A combination which usually tidies up any Text.
There are 300+ functions in this addin and it is well worth familiarising yourself with it
Bruno:
Easiest way without installing anything or using VBA code...
**Click on the letter B and hit Insert-Column.
Now, in cell B1 (which is now blank, right?), type this (Dennis' formula):
=upper(A1)
and hit Enter.
Now, click on cell A1 and you'll see a small black box at the bottom-right corner of the cell. Double-click that little box with your cursor. It should copy the formula you wrote all the way down. Double-check to make sure it did that. If not, then click and drag that corner box all the way down to copy the formula for all your rows.
Now, column B should contain the same info as column A except it's all capped.
Click on cell B1.
Hold the Ctrl+Shift keys and hit your Down arrow key one time and let go of all the keys.
That should select all those new upper-case cells you made.
Hit Ctrl+C.
Now, from the menu, hit Edit-Paste Special. Tic the "Values" mark and hit OK.
That should turn your formulas into the upper case text you wanted, which now makes it save for you to click on the letter A to highlight column A and then Edit-Delete.
Repeat from ** for each column that you have, remembering that you'll be changing the cell references I gave you too.
Hope this helps!
DENIS
the problem im having now is, A2 is not the same as A3 etc i have a total of 7989 different tracks, hope you can help further
The example is to show you how to use the UPPER and LOWER functions. Not to solve your problem. There wasn't enough information to solve your specifc problem.
To use the UPPER function, you simply type "=UPPER(CellReference)" into a specific cell, where "CellReference" is the cell that has the text you want to convert to UPPERCASE e.g.
<CENTER><TABLE borderColor=#c0c0c0 cellSpacing=0 width="60%" align=center border=1><TBODY><TR><TD bgColor=#0c266b colSpan=5><TABLE width="100%" align=center border=0><TBODY><TR><TD align=left><FONT color=white><B>Microsoft Excel - Book1</B></FONT></TD><TD align=right><FONT color=white size=2>___Running: xl2000 : OS = Windows NT 4 </FONT></TD></TR></TBODY></TABLE></TD></TR><TR><TD bgColor=#d4d0c8 colSpan=5><TABLE height=10 width="100%" align=center border=0 VALIGN="MIDDLE"><TBODY><TR><TD>(<U>F</U>)ile (<U>E</U>)dit (<U>V</U>)iew (<U>I</U>)nsert (<U>O</U>)ptions (<U>T</U>)ools (<U>D</U>)ata (<U>W</U>)indow (<U>H</U>)elp</TD><TD vAlign=center align=right><FORM name=formCb7552><INPUT onclick='window.clipboardData.setData("Text",document.formFb3707.sltNb8739.value);' type=button value="Copy Formula" name=btCb8704></FORM></TD></TR></TBODY></TABLE></TD></TR><TR><TD bgColor=white colSpan=5><TABLE border=0><TBODY><TR><FORM name=formFb3707><TD align=middle width="5%" bgColor=white><SELECT onchange="document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value" name=sltNb8739><OPTION value==UPPER(A1) selected>B1<OPTION value==UPPER(A2)>B2<OPTION value==UPPER(A3)>B3<OPTION value==UPPER(A4)>B4<OPTION value==UPPER(A5)>B5<OPTION value==UPPER(A6)>B6<OPTION value==UPPER(A7)>B7</OPTION></SELECT></TD><TD align=right width="3%" bgColor=#d4d0c8><B>=</B></TD><TD align=left bgColor=white><INPUT size=120 value==UPPER(A1) name=txbFb8093></TD></FORM></TR></TBODY></TABLE></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><BR></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>A</CENTER></B></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>B</CENTER></B></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>C</CENTER></B></TD><TD align=middle bgColor=#d4d0c8><B><CENTER>D</CENTER></B></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>1</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>Denis</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[0].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>DENIS</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>2</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>John</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[1].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>JOHN</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>3</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>Paul</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[2].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>PAUL</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>4</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>George</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[3].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>GEORGE</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>5</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>Pete</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[4].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>PETE</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>6</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>TheDeadGuyBefore Beatles were famous</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[5].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>THEDEADGUYBEFORE BEATLES WERE FAMOUS</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD align=middle width="1%" bgColor=#d4d0c8><B><CENTER>7</CENTER></B></TD><TD vAlign=bottom align=left bgColor=#ffffff><FONT face=Arial color=#000000>Ringo</FONT></TD><TD vAlign=bottom align=left bgColor=#ffffff><A onclick="document.formFb3707.sltNb8739.options[6].selected=true; document.formFb3707.txbFb8093.value = document.formFb3707.sltNb8739.value;" href="javascript:void(0);"><FONT face=Arial color=#000000>RINGO</FONT></A></TD><TD bgColor=#ffffff><BR></TD><TD bgColor=#ffffff><BR></TD></TR><TR><TD colSpan=5><U>Sheet2</U></TD></TR></TBODY></TABLE><BR><FONT color=#339966>To see the formula in the cells just click on the cells hyperlink or click the Name box</FONT><BR><FONT color=red size=2>PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.</FONT><BR><BR><FONT color=#339966 size=1>The above image was automatically generated by [HtmlMaker 2.12] </FONT><FONT color=#339966 size=1>If you want this FREE SOFT, <A href="http://www.interq.or.jp/sun/puremis/colo/HtmlMaker.htm">click here</A> to download</FONT><BR><FONT color=#339966 size=1>This code was graciously allowed to be modified: by <A href="mailto:[email protected]">Ivan F Moala</A> All credit to <A href="mailto:[email protected]">Colo</A></FONT><BR></CENTER>
If you are wanting to convert a whole lot of values, then Dreamboat has given you a good procedure to follow.
If you want to toggle between the 3 Cases (UPPER, lower, Proper) you could use a small routine such as:
Sub ChangeCase()
If Selection.Value = LCase(Selection.Value) Then
Selection.Value = UCase(Selection.Value)
Exit Sub
End If
If Selection.Value = UCase(Selection.Value) Then
Selection.Formula = Application.Proper(Selection)
Exit Sub
End If
If Selection.Formula = Application.Proper(Selection) Then
Selection.Value = LCase(Selection.Value)
Exit Sub
End If
End Sub
Note: works ONLY with a single cell selected!
Regards, Manfred
i apologise for sounding so stupid, but im still strugling to convert all the cells in one go ie a1:a7989 which is in lower case to b1:b7989 in uppercase.
and ive just realised its office xp i have
In cell B1 type in the formula "=UPPER(A1)". Exit the cell.
Highlight cell B1 with the excel cursor (the black border thingy)..
There is a little square on the excel cursor on the bottom right hand corner. Double click on this and your formula will be copied to B7989 .
lol, you are a star, thankyou very much, its amazing when you spell it out like that, i can get it, thankyou to you all
No worries.
OK just for fun i wrote this for a guy at work same kind of reasons i guess.
OK add this to a command button, froms button might be easier, and highlight all the cells in A and B COl
Hit the buton, shold do as you require
Tested in Xp Excel on Win Xp Professional
Hope this helps
Jack in the UK
Code:
Sub Jacks_Upper_Test()
Dim Rng As Range
Dim Jack_in_the_UK As Range
Set Rng = Selection.SpecialCells(xlCellTypeConstants, 2)
For Each Jack_in_the_UK In Rng
Jack_in_the_UK.Value = UCase(Jack_in_the_UK.Value)
Next Jack_in_the_UK
End Sub
:bouncy:
Sorry i had to add that smiley, i love movements
:bouncy: :bouncy: :bouncy: :bouncy:
Jack,
you should add a comment at the top :
'written by Jack_in_the_UK
...just in case someone later wonders who wrote it
:lol:
Also, you could download that excellent free add-in ASAP utilities. There's an UPPER case function on that feller.
Don’t have an account yet? Register yourself now and be a part of our community!