This Excel VBA Tutorial explains how to change Text to Uppercase, Lowercase or Propercase. Changing Case in Excel using VBA is easy, fast and timesaving.
Private and Public are Object Oriented Programming's concept. Private declaration works within same class and public declaration can allow use of object outside the class or by different class.
Private Sub Worksheet_Change(ByVal Target As Range) If Target.HasFormula Then Exit Sub Application.EnableEvents = False Target = UCase(Target.Cells(1)) Application.EnableEvents = True End Sub