find#N / A的值

即时通讯试图寻找#N / A值在我的数据,但即时通讯错误..不知道如何将“#N / A”的值分配到我的标准..

lastrow2 = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row Dim a As Integer For a = 6 To lastrow2 If Range("C" & a).Value <> "#N/A" Then Rows(a).Font.Strikethrough = True End If Next a