on-internet
← Community

How to find last row of a range?

Stack Overflow ·

When I use sheet.getLastRow(); it returns the last row which has content. But when I use range.getLastRow(); it returns the last row of the range and not considering content in it. Can anyone suggest a way to find last occupied cell in the range.

Comments

Sign in or sign up to comment and upvote.

No comments yet.