-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Description
In workbook.py, we calculate used_ranges by:
if include_ranges:
# Add used ranges for each sheet
ranges = {}
for sheet_name in wb.sheetnames:
ws = wb[sheet_name]
if ws.max_row > 0 and ws.max_column > 0:
ranges[sheet_name] = f"A1:{get_column_letter(ws.max_column)}{ws.max_row}"
info["used_ranges"] = ranges
However worksheet's max_column and max_row refer to the total capacity of an Excel sheet. May we change this to worksheet.calculate_dimension()?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels