Hi, I am getting a run time error 424 on the code below:
If Sheets("Specs").Range("B4").Value = Application.WorksheetFunction.VLookup(Sheets("Specs").Range("B4").Value, Sheets("InvoiceInfo").Range("E1:E100"), 1, False).valu Then
MsgBox "This is a fixed item. "
Exit Sub
End If
I do not have any Dim set. I am guessing that is the problem. Cell B4 on Specs is a word and is trying to see if the same work is on sheet InvoiceInfo column E. I am unsure of what Dims I need to set. Any ideas?
If Sheets("Specs").Range("B4").Value = Application.WorksheetFunction.VLookup(Sheets("Specs").Range("B4").Value, Sheets("InvoiceInfo").Range("E1:E100"), 1, False).valu Then
MsgBox "This is a fixed item. "
Exit Sub
End If
I do not have any Dim set. I am guessing that is the problem. Cell B4 on Specs is a word and is trying to see if the same work is on sheet InvoiceInfo column E. I am unsure of what Dims I need to set. Any ideas?