You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Office365-REST-Python-Client/office365/onedrive/workbooks/worksheets/worksheet.py
class WorkbookWorksheet(Entity):
...
def used_range(self):
"""Gets the used range object of the worksheet"""
return_type = WorkbookRange(
self.context, ResourcePath("range", self.resource_path)
)
qry = FunctionQuery(self, "usedRange", return_type=return_type)
self.context.add_query(qry)
return return_type
...
# Office365-REST-Python-Client/examples/onedrive/excel/read_range.py
# Get the smallest range of cells that have any values or formatting assigned to them
worksheet_range = worksheets["Sheet1"].used_range().execute_query()
It seems like
UsedRange
is not supported and not specifying the range through.range()
returnsNone
.worksheets["test_sheet"].range().execute_query()
returnsNone
.https://learn.microsoft.com/en-us/graph/api/worksheet-usedrange?view=graph-rest-1.0&tabs=http
The text was updated successfully, but these errors were encountered: