I am looking for VBA Code to get the row number of Last row which have data in any column i.e I want to search in whole worksheet?
Thanks in advance
I am looking for VBA Code to get the row number of Last row which have data in any column i.e I want to search in whole worksheet?
Thanks in advance
Application.ActiveSheet.UsedRange.rows.count
upd: link in question's comments says you should not use UsedRange