togliere flash

Versione Completa   Stampa   Cerca   Utenti   Iscriviti     Condividi : FacebookTwitter
xam99
00giovedì 11 novembre 2010 20:40
Buonasera a tutti.
Ho questa piccola macro che mi mette in ordine crescente o decrescente delle celle fisse. Quello che chiede, sempre sia possibile oppure con altra macro che quando clicco nel pulsante le celle selezionate non restino con il flash, per farlo andare via mi tocca cliccare in un cella vuota.
Grazie
bene63
00giovedì 11 novembre 2010 20:50
Ciao Xam99, prova così:

Sub ordina_ascendente()
Application.ScreenUpdating = False
ActiveSheet.Unprotect "xam99"
Range("B6:B15").Select
Range("B6:B15").Sort Key1:=Range("B6"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
ActiveSheet.Protect "xam99"
[A1].Select
End Sub


Sub ordina_discendente()
Application.ScreenUpdating = False
ActiveSheet.Unprotect "xam99"
Range("B6:B15").Select
Range("B6:B15").Sort Key1:=Range("B6"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
ActiveSheet.Protect "xam99"
[A1].Select
End Sub
xam99
00giovedì 11 novembre 2010 21:26
Mi sembra funzioni bene.
Mille grazie. [SM=x423028]
Ciao
Questa è la versione 'lo-fi' del Forum Per visualizzare la versione completa clicca qui
Tutti gli orari sono GMT+01:00. Adesso sono le 02:54.
Copyright © 2000-2024 FFZ srl - www.freeforumzone.com