The first part of my code is supposed to find the last active row in a worksheet - my dataset is comprised of formulas that may return blanks, so I do want to use the "Find" method. The worksheet "WS1 Bid Data" exists, but I get a "Subscript out of range" error when I try to run the code.
I know there are tons of questions similar to this, but I have not been able to find a working solution. Does anyone have ideas?
start_row = Worksheets("Import").Range("B23").Value
start_col = Worksheets("Import").Range("B24").Value
start_ref = Worksheets("Import").Range("B19").Value
With Worksheets("WS1 Bid Data")
end_row = Cells.Find(What:="*", _
After:=.Range("A1"), _
LookAt:=x1Part, _
LookIn:=x1Formulas, _
SearchOrder:=x1ByRows, _
SearchDirection:=x1Previous, _
MatchCase:=False).Row
End With