-1

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

1 Answers1

0
Application.ActiveSheet.UsedRange.rows.count

upd: link in question's comments says you should not use UsedRange

4dmonster
  • 3,012
  • 1
  • 14
  • 24