For the record, if you are just starting with Python’s
win32com on a new computer, trying to talk to Excel, and it’s not working - with errors like:
com_error: (-2147352567, 'Exception occurred.'
or you are getting
None for all properties like
Application.ActiveCell, it’s likely your Excel security settings are disallowing COM.