Problem: I'm trying to run a match function based on a range that has variables.
Scope: The goal is to find the first instance of the word "awesome" in column A between row x and the last row; and return the row number
Case:
LastRow = Sheets("demo").Cells(Rows.Count, 1).End(xlUp).Row
For x = 2 To LastRow
Dim rng as Range
Set rng = "A" & x & ":A" & LastRow
Attempts:
"=Match("awesome","A" & x & ":A" & LastRow,0)"
"=Match("awesome",range(""A"" & x & "":A"" & LastRow),0)"
"=Match("awesome",rng,0)"
"=Match("awesome",range(rng),0)"
Nothing Works!