I have an issue with iLastRow
in VBA. I use the following tag to define last row with data in a column:
iLastRow = Cells(Rows.Count, "H").End(xlUp).Row
However I always get the last row with data at all as a result. So if the last row with data in column A is row 12 and the last row with data in column H is 10, I still get 12 as a result. For my purposes I would need the code to give me 10 as a result. Any help is highly appreciated, thanks!