- Katılım
- 26 Ocak 2007
- Mesajlar
- 4,625
- Excel Vers. ve Dili
- Ofis 2016
- Altın Üyelik Bitiş Tarihi
- 20-02-2025
Merhaba Arkadaşlar,
Ofis 2016da normal çalışan kod Ofis2012 de çalışmadı. Dosya ektedir :

Sub SIRALA()
SATIR1 = Sayfa1.Range("A" & Rows.Count).End(xlUp).Row
myVar3 = Application.WorksheetFunction.Match([I1], Worksheets("KAYIT").Range("A1:F1"), 0)
Range(Cells(2, 1), Cells(SATIR1, 6)).Sort Key1:=Cells(1, myVar3), Order1:=xlDescending
End Sub
Ofis 2016da normal çalışan kod Ofis2012 de çalışmadı. Dosya ektedir :

Sub SIRALA()
SATIR1 = Sayfa1.Range("A" & Rows.Count).End(xlUp).Row
myVar3 = Application.WorksheetFunction.Match([I1], Worksheets("KAYIT").Range("A1:F1"), 0)
Range(Cells(2, 1), Cells(SATIR1, 6)).Sort Key1:=Cells(1, myVar3), Order1:=xlDescending
End Sub
Ekli dosyalar
-
24.5 KB Görüntüleme: 6