ckarabacak
Altın Üye
- Katılım
- 12 Ocak 2010
- Mesajlar
- 369
- Excel Vers. ve Dili
- Excel 2010
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub görevkodunagöre_isimsırala1()
Application.ScreenUpdating = False
Range("C3:H65000").Sort Key1:=Range("C3"), Order1:=xlAscending, Key2:=Range("E3") _
, Order2:=xlAscending, Header:=xlNo, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal
Application.ScreenUpdating = True
End Sub
Sub görevkodunagöre_isimsırala2()
Application.ScreenUpdating = False
Range("C3:H65000").Sort Key1:=Range("E3"), Order1:=xlAscending, Key2:=Range("C3") _
, Order2:=xlAscending, Header:=xlNo, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal
Application.ScreenUpdating = True
End Sub
Sub görevkodunagöre_isimsırala()
Application.ScreenUpdating = False
son = Cells(Rows.Count, "C").End(3).Row
ActiveWorkbook.Worksheets("LİSTE").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("LİSTE").Sort.SortFields.Add Key:=Range("C3:C" & son), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("LİSTE").Sort.SortFields.Add Key:=Range("E3:E" & son), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("LİSTE").Sort
.SetRange Range("C2:H" & son)
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("C3").Select
Application.ScreenUpdating = True
End Sub
Sayın Asri Merhaba
İlginize çok teşekkür ederim. Bu kod' da işimi gördü
İyi akşamlar