qax-os / excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
https://xuri.me/excelize
BSD 3-Clause "New" or "Revised" License
18.05k stars 1.71k forks source link

Count columns and rows of the worksheets. 会提供 Max row Max col 属性吗 #1876

Closed shzy2012 closed 5 months ago

shzy2012 commented 5 months ago

后续会提供如下功能吗

  1. 最大行数 Max row
  2. 最大列数 Max col
xuri commented 5 months ago

Thanks for your issue. This was duplicated with issue #1402. Due to the principle of minimum availability, there is no plan to introduce this feature to keep the library core and easy. But you can easily know max rows and columns by iterating and counting row/column numbers with the existing functions. I'll close this issue. If you have any questions, please let me know, and you can reopen this anytime.