Livin404
Well-known Member
- Joined
- Jan 7, 2019
- Messages
- 743
- Office Version
- 365
- 2019
- Platform
- Windows
Good afternoon,
The Private Sub below work properly with the exception of Ucase (.text). Some of the cells have lower case, so I figured if I put it in here it will go back and correct the ones where we have lowercase. Looking for consistency.
Here is the code. I think the Ucase is the only thing that is not correct.
Thank you,
The Private Sub below work properly with the exception of Ucase (.text). Some of the cells have lower case, so I figured if I put it in here it will go back and correct the ones where we have lowercase. Looking for consistency.
Here is the code. I think the Ucase is the only thing that is not correct.
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
With Sheets("ACTIVITY").Cells
With Range("A2:F2", Range("A" & Rows.Count).End(xlUp))
.Font.Bold = False
.Font.Size = 12
.Font.Name = "Times New Roman"
UCase (.Text)
End With
Columns.AutoFit
End With
End Sub
Thank you,