Post Reply 
How to determine row/column extent of spreadsheet?
03-08-2016, 06:06 AM
Post: #2
RE: How to determine row/column extent of spreadsheet?
Hello,

This is a hard one!
Obviously, the spreadsheet does keep that data internally, but as you noted, there is no user accessible variable that lets you access it...

I had a look at the source code and here is the trick.
When you extract a full row or column, it returns a list which size IS the max row/col count!

So, SIZE(A:A) gives you the number of rows and SIZE(1:1) the number of columns!

Not very efficient, but will work.

Regards,
Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to determine row/column extent of spreadsheet? - cyrille de brébisson - 03-08-2016 06:06 AM



User(s) browsing this thread: 1 Guest(s)