Hi,
I'm still very new to this and would appreciate all the help and advice I can get!
I have a huge Excel VBA project to try to find every error a user could possibly make in a sheet with 12 or so columns.
I need a way to read a non-numeric cell and then compare it to every other row in the same column to see if it is a substring of any of them.
I came up with this (inside the main loop). But it's not working properly (syntax). Can anyone point me in the right direction?
If Not IsNumeric(Columns("M")Rows(i1).Value Then
For i2 = 3 to rowCount
If InStr(1, iPolRef(i2.Value), iPolRef) > 1 Then
GoSub substringcomment
End If
Exit For
End If
Thanks, Roy
I'm still very new to this and would appreciate all the help and advice I can get!
I have a huge Excel VBA project to try to find every error a user could possibly make in a sheet with 12 or so columns.
I need a way to read a non-numeric cell and then compare it to every other row in the same column to see if it is a substring of any of them.
I came up with this (inside the main loop). But it's not working properly (syntax). Can anyone point me in the right direction?
If Not IsNumeric(Columns("M")Rows(i1).Value Then
For i2 = 3 to rowCount
If InStr(1, iPolRef(i2.Value), iPolRef) > 1 Then
GoSub substringcomment
End If
Exit For
End If
Thanks, Roy