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
targetSpreadsheet and cell-wise formatting from thecomment_sourceSpreadsheet. If a cell exists in this spreadsheet and not in the source, it will be retained as-is. If more cells exist in thecomment_sourcethan in this spreadsheet, those cells will be dropped. If a sheet exists in thecomment_sourceand 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: