Python `win32com` not talking to Excel because of “Trust Center” settings

Category: MS Office

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.

Try this:

2015-09-02 21_21_02-Trust Center