D
Dthmtlgod
Here is my code and after reading the help I found that the error is being
caused by the value not being found, which I think would generate #N/A if
this one used as a formula.
How do I get around this? Here is the code so far with help from Frank.
With Application.WorksheetFunction
Res = .Index(Range("LOOKUP81!$A$1:$B$3"), .Match(Range("81!F" & Z),
Range("LOOKUP81!$A$1:$A$3"), 0), 2)
End With
caused by the value not being found, which I think would generate #N/A if
this one used as a formula.
How do I get around this? Here is the code so far with help from Frank.
With Application.WorksheetFunction
Res = .Index(Range("LOOKUP81!$A$1:$B$3"), .Match(Range("81!F" & Z),
Range("LOOKUP81!$A$1:$A$3"), 0), 2)
End With