Finding last row and last column in excel - VBA
Hello Readers,
Welcome to Coding by Learning !!! 😀
Here we are going to learn about finding last row and last column in a excel sheet.
Let's see the following example. There is a table in the sheet having details of fruits bill
There are 6 rows and 5 columns in the table. Lets find this by VBA code
Output
Best Practice :
Always use "Application.rows.count" or "Application.Columns.Count". This will work for any excel version.
Happy leading & Happy coding!!!
Comment and share this post to your friends and colleagues 😀
Comments
Post a Comment