Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code which will force upper case in column "C":
Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False If Not Application.Intersect(Target, Range("C9:C47")) Is Nothing Then ' Target(1).Value = UCase(Target(1).Value) Target(1).Value = StrConv(Target(1).Value, vbUpperCase) End If Application.EnableEvents = True End Sub I would like to adapt this code to work in non-adjacent columns; ie columns "A" and "C". -- tia Jock |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add cells on two adjacent rows but non-adjacent columns | Excel Worksheet Functions | |||
Matching Adjacent Columns? | Excel Worksheet Functions | |||
Transfer to adjacent columns | Excel Programming | |||
combining adjacent columns | Excel Discussion (Misc queries) | |||
How can I convert entire columns of text to Uppercase in Excel? | Excel Worksheet Functions |