A simple class that holds a COM interface to Excel.
By using the win32com module from Mark Hammonds’ pywin32 package, we can manipulate various workbook/worksheet methods inside this class.
__init__ | Default class constructor. |
Close | Closes the Excel workbook, interrupting the COM interface. |
GetCommentsRange | Returns a range of cells containing comments, using the VBA API. |
GetText | Returns the WYSIWYG text contained in a cell. |
A simple class that holds a COM interface to Excel.
By using the win32com module from Mark Hammonds’ pywin32 package, we can manipulate various workbook/worksheet methods inside this class.
Default class constructor.
Parameters: |
|
---|
Closes the Excel workbook, interrupting the COM interface.
Parameters: | save – True to save the changes you made to the workbook, False otherwise. |
---|