I have tried to implement some vectorization in my code which seeks for relevant row (to classify some data). Unfortunately it seems like range in find (stored within "with" method) does not accept range as column and concatenated row number as int.
With range set as ("B:B") it works (code below):
With AllPlatformsProductsCostsTATMatrixwb.Sheets(platform)
finalrow = .Range("B:B").Find(what:=country).row
FindMatch2criteria = finalrow
End With
With range set as ("B" & rownumber) it does not work (code below):
With AllPlatformsProductsCostsTATMatrixwb.Sheets(platform)
finalrow = .Range(Range("B" & startrow), Range("B" & endrow)).Find(what:=country).row
FindMatch2criteria = finalrow
End With
Any ideas?