Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49948

Automatic Uppercase

$
0
0
I have been trying to get this code to work and cant. It worked once and wont work anymore. What am I doing wrong??? I just want to have excel automaticaly change everything put in a cell to all capital letters. Thanks for help.


HTML Code:

Private Sub Worksheet_Change(ByVal Target As Range)
With Target
    If Not .HasFormula Then
        .Value = UCase(.Value)
    End If
End With
End Sub


Viewing all articles
Browse latest Browse all 49948

Trending Articles