copy_columns method

copy_columns

Copies data and formats of a whole column.

def copy_columns(self, source_cells0, source_column_index, destination_column_index, column_number):
    ...
ParameterTypeDescription
source_cells0CellsSource Cells object contains data and formats to copy.
source_column_indexintSource column index.
destination_column_indexintDestination column index.
column_numberintThe copied column number.

copy_columns

Copies data and formats of a whole column.

def copy_columns(self, source_cells0, source_column_index, destination_column_index, column_number, paste_options):
    ...
ParameterTypeDescription
source_cells0CellsSource Cells object contains data and formats to copy.
source_column_indexintSource column index.
destination_column_indexintDestination column index.
column_numberintThe copied column number.
paste_optionsPasteOptionsthe options of pasting.

copy_columns

Copies data and formats of the whole columns.

def copy_columns(self, source_cells, source_column_index, source_total_columns, destination_column_index, destination_total_columns):
    ...
ParameterTypeDescription
source_cellsCellsSource Cells object contains data and formats to copy.
source_column_indexintSource column index.
source_total_columnsintThe number of the source columns.
destination_column_indexintDestination column index.
destination_total_columnsintThe number of the destination columns.

See Also