How to count active excel rows using run JavaScript function,
Kindly help me to find the solution.

How to count active excel rows using run JavaScript function,
Kindly help me to find the solution.
For what reason are you trying to use javascript for Excel?
And what did you mean by active rows? Do you have a Filter and want the visible rows?
Here is a post I have written on how to access Excel using javascript. You can modify as per your requirements.