Código:
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo fin
Const ULTIMA_COL = "C"
If Intersect(Target, Range(ULTIMA_COL & ":" & ULTIMA_COL)) Is Nothing Then GoTo fin
If Target.Row = 1 Then GoTo fin
Application.EnableEvents = False
Dim rng As Range
Set rng = Range("A1").CurrentRegion
rng.Sort Key1:=rng.Columns(1), Order1:=xlAscending, Header:=xlYes
fin:
Application.EnableEvents = True
End Sub
⭐ Si te gustó, por favor regístrate en nuestra Lista de correo y Suscríbete a mi canal de YouTube para que estés siempre enterado de lo nuevo que publicamos.
