I want to create Excel spreadsheets with embedded graphs. Ideally I’d like to do with with Python on Mac. If I can’t do that, I’d like to do it with some kind of Excel automation on Mac. If I can’t do that I’m willing to do it on Windows by manipulating Excel via COM, but I would still like to do it from Python. Does anyone have any code? Thanks.
Share
Here’s a basic example of Python COM on Windows:
It was translated by recording a macro in Excel. Here’s the macro so you can see how similar it is. Just record what you want to do in Excel and translate it to Python syntax: