I'm trying to figure out how to find multiple match data from another worksheet. My goal is to find not just one match. I want to find all the matches up to the last row of data.
Here's a sample of my code. It only finds one match, then it goes to the next data.
For RowData = 2 to LastRow
MatchData = Application.WorksheetFunction.Match("Sandwich",Worksheets("Food").Range("A1:A" & LastRow), 0))
If RowData <> MatchData then
Msgbox("Data matched!")
End if
Next
Hope you could help me out. Thanks in advance.