- Katılım
- 31 Aralık 2009
- Mesajlar
- 1,105
- Excel Vers. ve Dili
- excel 2007 türkçe
Excel Vers. ve Dili Ofis 2003
Merhabalar
Başka sayhadaki boşları saydırmayı macro ile nasıl yapabilirim.
Bu kodlar kata veriyor
Başka sayhadaki boşları saydırmayı macro ile nasıl yapabilirim.
Bu kodlar kata veriyor
Kod:
Sub dene5()
w = Worksheets("rrrr").Cells(Rows.Count, "A").End(xlUp).Row
Range("e19") = w
Range("e20") = WorksheetFunction.CountIf(Worksheets("rrrr").Cells(1, 1), Worksheets("rrrr").Cells(w, 1), "")
End Sub
Sub dene6()
w = Worksheets("rrrr").Cells(Rows.Count, "A").End(xlUp).Row
Range("e19") = w
Range("e20") = WorksheetFunction.CountIf(Sheets("rrrr").Cells(1, 1), Sheets("rrrr").Cells(w, 1), "")
End Sub
Sub dene7()
w = Worksheets("rrrr").Cells(Rows.Count, "A").End(xlUp).Row
Range("e19") = w
Range("e20") = WorksheetFunction.CountIf(Sheets("rrrr").Cells(1, 1), Sheets("rrrr").Cells(w, 1), Cells(2, 1))
End Sub
