Hi guys.
I am looking to convert all the text/characters in an excel workbook into all CAPS. The workbook has several worksheets with data in them already.
I found this code below from a previous post on this board and tried to use it in the workbook module but nothing seemed to happen
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Excel.Range)
Dim c As Range
Application.EnableEvents = False
For Each c In Target.Cells
c = UCase(c.Text)
Next
Application.EnableEvents = True
End Sub
I would like a code that i can use once after that i can delete it (without loosing the ALL CAPS format)
Thanks Guys
I am looking to convert all the text/characters in an excel workbook into all CAPS. The workbook has several worksheets with data in them already.
I found this code below from a previous post on this board and tried to use it in the workbook module but nothing seemed to happen
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Excel.Range)
Dim c As Range
Application.EnableEvents = False
For Each c In Target.Cells
c = UCase(c.Text)
Next
Application.EnableEvents = True
End Sub
I would like a code that i can use once after that i can delete it (without loosing the ALL CAPS format)
Thanks Guys