Spreadsheet: Add getUsedRange() and getNonEmptyRange()

This commit is contained in:
Chris Hennes
2022-11-04 15:45:52 -05:00
parent f06ec1f28b
commit 0c162d7f09
5 changed files with 126 additions and 2 deletions

View File

@@ -201,5 +201,32 @@ Get a list of the names of all cells with data in them.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getUsedRange">
<Documentation>
<UserDocu>
getUsedRange()
Get a the total range of the used cells in a sheet, as a pair of strings
representing the lowest row and column that are used, and the highest row and
column that are used (inclusive). Note that the actual first and last cell
of the block are not necessarily used.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getNonEmptyRange">
<Documentation>
<UserDocu>
getNonEmptyRange()
Get a the total range of the used cells in a sheet, as a pair of cell addresses
representing the lowest row and column that contain data, and the highest row and
column that contain data (inclusive). Note that the actual first and last cell
of the block do not necessarily contain anything.
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>