That means it hasn't found a cell containing Test on either Sheet1 or Sheet2.

Can you post a sample workbook that demonstrates the error occurring?

Dom