Sub A1_SortbyAcctandDeleteBlanks ()
Waaier („A1“). Selecteer
Selection.Sort Key1: =Range („C2“), Order1: Het =xlAscending, Kopbal: =xlGuess, _
OrderCustom: =1, MatchCase: =False, Richtlijn: =xlTopToBottom
Waaier („C1“). Selecteer
Selection.End (xlDown). Selecteer
ActiveCell.Offset (1, 0) .EntireRow.Select
ActiveCell.Offset (1, 0). Waaier („A1“). Activeer
Selection.Clear
Waaier („A1“). Selecteer
Beëindig Sub
|