atomica.excel.transfer_comments¶
- atomica.excel.transfer_comments(target, comment_source)[source]¶
Copy comments between spreadsheets
This function copies comments from one spreadsheet to another. Under the hood, a new spreadsheet is created with values from the
target
Spreadsheet and cell-wise formatting from thecomment_source
Spreadsheet. If a cell exists in this spreadsheet and not in the source, it will be retained as-is. If more cells exist in thecomment_source
than in this spreadsheet, those cells will be dropped. If a sheet exists in thecomment_source
and not in the current workbook, it will be added- Parameters:
target (
Spreadsheet
) – The target spreadsheet to write comments intocomment_source (
Spreadsheet
) – The source spreadsheet containing comments
- Return type: