Ich versuche COUNTIF in VBA zu tun und ich bekomme für einige Resom Fehler '438' und ich weiß nicht warum.VBA - Countif Fehler '438'
Option Explicit
Sub tools()
'
With Worksheets("Plans")
.Range("a:ar").AutoFilter Field:=2, Criteria1:="=Cv", Operator:=xlOr, Criteria2:="=Se"
.rows("6:6").Select
.Range(Selection, Selection.End(xlDown)).Select
.Selection.Delete Shift:=xlUp
.ShowAllData
.Range("A2:A" & .Cells(rows.Count, "e").End(xlUp).Row).FormulaR1C11 = "=COUNTIF(c[5],RC[5])"
.Range("A2:a" & .Cells(rows.Count, "e").End(xlUp).Row) = Range("A2:a" & .Cells(rows.Count, "e").End(xlUp).Row).Value2
End With
End Sub
Funktioniert gut, großer Dank. –
Sie sind willkommen – user3598756