Merhaba,
Aşağıdaki kod ile verileri teke düşüyorum, veri sheetinde a1 sayfasına getiriyor, Benim veri sheetinde b1 sayfasına getirmesini istiyorum ama hata alıyorum,
yardımcı olabilir misiniz, (Sheets("veri").Cells(c, 1) = Cells(b, 1) yaptığım hata alıyorum.
Sub Ayikla()
For a = 1 To [a65536].End(3).Row
If WorksheetFunction.CountIf(Range("a1:a" & a), Cells(a, 1)) = 1 Then
c = c + 1
Sheets("veri").Cells(c, 1) = Cells(a, 1)
End If
Next
End Sub
Aşağıdaki kod ile verileri teke düşüyorum, veri sheetinde a1 sayfasına getiriyor, Benim veri sheetinde b1 sayfasına getirmesini istiyorum ama hata alıyorum,
yardımcı olabilir misiniz, (Sheets("veri").Cells(c, 1) = Cells(b, 1) yaptığım hata alıyorum.
Sub Ayikla()
For a = 1 To [a65536].End(3).Row
If WorksheetFunction.CountIf(Range("a1:a" & a), Cells(a, 1)) = 1 Then
c = c + 1
Sheets("veri").Cells(c, 1) = Cells(a, 1)
End If
Next
End Sub
