- Katılım
- 9 Aralık 2006
- Mesajlar
- 134
- Excel Vers. ve Dili
- microsoft office professional plus 2010 TR
aşağıda ki gibi bir makrom var fakat ben a sütünunda dolu olan son hücreye karşılık gelen d ve e sutununki hücreler boşsa uyarı versin dolu ise makro çalışsın istiyorum. Mümkün müdür acaba
sub sıralıliste()
activeworkbook.worksheets("vardiya").autofilter.sort.sortfields.clear
activeworkbook.worksheets("vardiya").autofilter.sort.sortfields.add key:= _
range("a3"), sorton:=xlsortonvalues, order:=xlascending, dataoption:= _
xlsortnormal
with activeworkbook.worksheets("vardiya").autofilter.sort
.header = xlyes
.matchcase = false
.orientation = xltoptobottom
.sortmethod = xlpinyin
.apply
end with
range("j1:k3").select
end sub
sub sıralıliste()
activeworkbook.worksheets("vardiya").autofilter.sort.sortfields.clear
activeworkbook.worksheets("vardiya").autofilter.sort.sortfields.add key:= _
range("a3"), sorton:=xlsortonvalues, order:=xlascending, dataoption:= _
xlsortnormal
with activeworkbook.worksheets("vardiya").autofilter.sort
.header = xlyes
.matchcase = false
.orientation = xltoptobottom
.sortmethod = xlpinyin
.apply
end with
range("j1:k3").select
end sub
