DeleteBlankOptions class

DeleteBlankOptions class

Represents the setting of deleting blank cells/rows/columns.

Inheritance: DeleteBlankOptionsDeleteOptions

The DeleteBlankOptions type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Constructs a new instance of DeleteBlankOptions

Properties

PropertyDescription
update_referenceIndicates if update references in other worksheets.
formula_change_monitorGets/sets the monitor for tracking changes caused by the deletion.
empty_string_as_blankWhether one cell will be taken as blank when its value is empty string.
Default value is true.
empty_formula_value_as_blankWhether one cell will be taken as blank when it is formula and the calculated result is null or empty string.
Default value is false.
drawings_as_blankWhether drawing related objects such as picture, shape, chart… will be taken as blank.
Default value is true.
merged_cells_shrink_typeIndicates how to process merged cells when deleting blank rows/columns.
start_indexSpecifies the start row/column index of the range to check and delete blank rows/columns.
end_indexSpecifies the end row/column index(inclusive) of the range to check and delete blank rows/columns.
Default value is -1 and -1 means the maximum range of all objects(cells, drawings, …) that need to be checked.

See Also