Muthukrishnan V
Active Member
- Joined
- May 29, 2008
- Messages
- 290
- Office Version
- 365
- Platform
- Windows
Excel 2007
Automatically change text to Upper Case.
Kindly look into the below vba code which applies Col A to H.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column > 8 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub
Kindly suitably change the above code to apply for Column D15:D500 only.
Automatically change text to Upper Case.
Kindly look into the below vba code which applies Col A to H.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column > 8 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub
Kindly suitably change the above code to apply for Column D15:D500 only.