Is it possible to write a Python script that will create and save a chart in Excel?
1 Answer
This is what I read here
There are still reasons why automating an Excel instance via COM is necessary: • manipulation of graphs • rich text cells • reading formulae in cells • working with macros and names • the more esoteric things found in .xls files
So you probably will need C# or something like that and the client machine will need to have excel installed..
3 Comments
Mahesh
Can you mark it as the answer? I am new to stack overflow..dunno if asking to mark as answer is something valid..
John Machin
You don't need C# or something like that. You can use Python and the pywin32 package to manipulate Excel files. It is well supported, has been around since Python 1.x, and lots of people use it. I use it for testing xlrd (dump file using xlrd, dump file using win32com, compare results).
John Machin
As far as I know, yes, there's an API for just about anything that a user can do with Excel, a mouse, and a keyboard.