auto_fit_column method

auto_fit_column

Autofits the column width.

def auto_fit_column(self, column_index):
    ...
ParameterTypeDescription
column_indexintColumn index.

Remarks

AutoFitColumn is an imprecise function.

auto_fit_column

Autofits the column width.

def auto_fit_column(self, column_index, first_row, last_row):
    ...
ParameterTypeDescription
column_indexintColumn index.
first_rowintFirst row index.
last_rowintLast row index.

Remarks

This method autofits a row based on content in a range of cells within the row.

See Also