Home |
Search |
Today's Posts |
#6
![]() |
|||
|
|||
![]()
Hi Gord
thanks, i actually had a vague idea that this would happen and went looking for the post where you told me this last time and couldn't find it so i thought i was dreaming ... however, i've now put this post in a safe place and won't do it again :) -- Cheers JulieD check out www.hcts.net.au/tipsandtricks.htm ....well i'm working on it anyway "Gord Dibben" <gorddibbATshawDOTca wrote in message ... Once again Julie...... FYI and hopefully a tip. Are you aware with that code, if there are any formulas in the range they will be wiped out leaving values only? I realize OP mentioned text only but on the odd chance that some of the text seen may be the results of formulas the following code would not affect formulas. It will however, change case of any text returned by a formula as well as in text-only cells. Just select a range and run code. Sub Upper_Case() Dim cell As Range Application.ScreenUpdating = False For Each cell In Selection cell.Formula = UCase(cell.Formula) Next Application.ScreenUpdating = True End Sub Gord Dibben Excel MVP On Fri, 29 Apr 2005 00:38:46 +0800, "JulieD" wrote: Hi will the following code do what you want (always test code on a copy of the workbook first!) sub changetoupper() for each c in Range("A1:A100") c.value = UCASE(c.value) next end sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to convert columns of data to one column of text | Excel Worksheet Functions | |||
How do I convert text to columns when there is a carriage return? | Excel Worksheet Functions | |||
convert text labels to excel columns | New Users to Excel | |||
Convert entire columns of text email addresses to hyperlinks | Excel Worksheet Functions | |||
Convert Numeric into Text | Excel Worksheet Functions |