Roberto.
pezroby@-nospam-tiscali.it
Togli -nospam- per le risposte.
--
Roberto.
robypez@-nospam-wooow.it
Mettiamo tu abbia da tenere ordinata la colonna A.
Elenco
a
a
d
e
e
f
g
h
r
Questo codice fa quanto chiedi:
Private Sub Worksheet_Change(ByVal Target As Range)
With Target
If .Column = 1 Then
Range("A1:A" & .Row).Sort Key1:=Range("A2"),
Order1:=xlAscending, Header:= _
xlYes, OrderCustom:=1, MatchCase:=False,
Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End If
End With
End Sub
Da inserire nel modulo di codice del foglio dove hai i dati.
Prova ad inserire una a in fondo all'elenco...
--
---------------------------
Mauro Gamberini
http://www.riolab.org/