Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
How do I change text information in multiple cells from uppercase to proper
case (Upper/lower case)? |
#2
![]() |
|||
|
|||
![]()
your data is in c6 to c12.
use this code 'upper and lower are worksheet function and cannot be used vba ' following is for lower to upper 'Use Ucase from lower to upper 'use Lcase for upper to lower Public Sub test() Dim sstring Dim cell As Range For Each cell In Range("c6:c12") cell.Activate sstring = ActiveCell.Value ActiveCell = UCase(sstring) Next End Sub Public Sub test1() 'this is for upper to lower Dim sstring Dim cell As Range For Each cell In Range("c6:c12") cell.Activate sstring = ActiveCell.Value ActiveCell = LCase(sstring) Next End Sub change the address of your range(from c6:c12 to your address. ====================== Excel help <Excel wrote in message ... How do I change text information in multiple cells from uppercase to proper case (Upper/lower case)? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i add the same text after current text in multiple cells | Excel Discussion (Misc queries) | |||
How can I automatically change the font color of text in cells th. | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) | |||
multiple text files URGENT | Excel Discussion (Misc queries) | |||
importing multiple text files??? | Excel Discussion (Misc queries) |