I'm trying to check if certain column titles are present in a header row
I can't seem to get it to work.... it's just throwing up an error 438.
Any help appreciated!
Thanks
Tom
Code:
lcol = Sheets("UPDATE TOOL").Cells(Columns.Count).End(xlToLeft).Colum
Set Rng = Sheets("UPDATE TOOL").Range("A1", Sheets("UPDATE TOOL").Cells(1, lcol))
If Not IsError(Application.Match("Last reissue date", Rng, 0)) Then
If Not IsError(Application.Match("Risk Assessment Level", Rng, 0)) Then
If Not IsError(Application.Match("Function", Rng, 0)) = True Then
Call Sheets("OPS PLANNER").PermitImport
Exit Sub
End If
End If
End If
I can't seem to get it to work.... it's just throwing up an error 438.
Any help appreciated!
Thanks
Tom