Forum Discussion

Gloria Mendez's avatar
Gloria Mendez
Copper Contributor
Oct 31, 2018

Excel for MAC, Version 16.16.2

Is there a way to format an entire empty column or row so the text I enter is all caps?

gogimendez@gmail.com

  • Lorenzo Kim's avatar
    Lorenzo Kim
    Bronze Contributor
    try:
    code must be on the specific sheet

    Private Sub Worksheet_Change(ByVal Target As Range)
    On Error Resume Next
    [A1:B20] = [INDEX(UPPER(A1:B20),)]
    On Error GoTo 0
    End Sub

    change the range to suit.
    HTH

Resources