ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to make whole work sheet in to upper case (https://www.excelbanter.com/excel-discussion-misc-queries/193563-how-make-whole-work-sheet-upper-case.html)

Mahesh

how to make whole work sheet in to upper case
 
hi
i could not convert upper case words or sentence to lower case or visa versa

like.. if "how to make whole work sheet in to upper case" this to be made
to upper case.. how could this be done.. plz help

Regards
Mahesh

Mike H

how to make whole work sheet in to upper case
 
Hi,

Try this,

Right click the sheet tab, view code and paste this in and run it

Sub versive()
For Each c In ActiveSheet.UsedRange
If Not c.HasFormula Then
c.Value = UCase(c.Value)
End If
Next
End Sub

"Mahesh" wrote:

hi
i could not convert upper case words or sentence to lower case or visa versa

like.. if "how to make whole work sheet in to upper case" this to be made
to upper case.. how could this be done.. plz help

Regards
Mahesh


Gord Dibben

how to make whole work sheet in to upper case
 
Sub Upper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = UCase(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub


Sub Lower()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = LCase(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub


Sub Proper()
Dim Cell As Range
Application.ScreenUpdating = False
For Each Cell In Selection
Cell.Formula = Application.Proper(Cell.Formula)
Next
Application.ScreenUpdating = True
End Sub


Gord Dibben MS Excel MVP

On Thu, 3 Jul 2008 04:10:01 -0700, Mahesh
wrote:

hi
i could not convert upper case words or sentence to lower case or visa versa

like.. if "how to make whole work sheet in to upper case" this to be made
to upper case.. how could this be done.. plz help

Regards
Mahesh



BT[_2_]

how to make whole work sheet in to upper case
 
Hi Mahesh

An easier approach would be to use the =upper, =lower, and =proper
functions. Let's say you want to convert a text string in cell A1 to upper
case. Select an empty cell and enter the formula =upper(A1). Now copy and
paste special / value back into cell A1.

"Mahesh" wrote:

hi
i could not convert upper case words or sentence to lower case or visa versa

like.. if "how to make whole work sheet in to upper case" this to be made
to upper case.. how could this be done.. plz help

Regards
Mahesh


Gord Dibben

how to make whole work sheet in to upper case
 
How would that be easier than running a macro to change all at once without
formulas in helper cells then copy/pasting?

Assume Mahesh had multiple columns and rows.


Gord

On Fri, 4 Jul 2008 07:08:00 -0700, BT wrote:

Hi Mahesh

An easier approach would be to use the =upper, =lower, and =proper
functions. Let's say you want to convert a text string in cell A1 to upper
case. Select an empty cell and enter the formula =upper(A1). Now copy and
paste special / value back into cell A1.

"Mahesh" wrote:

hi
i could not convert upper case words or sentence to lower case or visa versa

like.. if "how to make whole work sheet in to upper case" this to be made
to upper case.. how could this be done.. plz help

Regards
Mahesh




All times are GMT +1. The time now is 09:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com