Salve a tutti.
E' possibile ordinare il foglio1 (da vba) senza selezionarlo ?
La macro generata e' la seguente:
sheets("Foglio1").select
Range("A2:U1000").Select
Selection.Sort Key1:=Range("E2"), Order1:=xlAscending, Key2:=Range("F2") _
, Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal, DataOption2 _
:=xlSortNormal
si puo' adattare ?
Grazie