Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect([A1:A2000,K1:K2000], Target) Is Nothing Then Exit Sub
'if target.count > 1 then exit sub '當 range 中的數量多於1個時離開
Application.EnableEvents = False
'Target = UCase(Target) '修改1個欄位時適用
'修改多個欄位時,需改成這樣
for each c in target.cells
c.value = ucase(c.value)
next
Application.EnableEvents = True
End Sub