Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
190 views
in Technique[技术] by (71.8m points)

c# - Google Sheets - How to get index of last row/column

I'm using the Google Sheets API to read and store some data, and have a sheet who's dimensions may not be known at runtime. When using a C# application, how can I get, in A1 notation, the last row and column of data?

Found some other threads suggesting using a very large range (A1:ZZ2000000), but I would rather avoid doing that - it seems wasteful.

I've written some custom functions which can get these indexes, but I'm not sure on how to use that in an external C# application.

Thanks!

question from:https://stackoverflow.com/questions/65911480/google-sheets-how-to-get-index-of-last-row-column

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...