E
Erwin S. Andreasen
I am using the PowerPoint COM interface (specifically from Python, but
the method/property names are the same were I to use VB) to create a
presentation which contain tables. I have two issues:
1) since I have a lot of data to copy over, I would like to copy it to
the clipboard and then copy it to the already properly resized tables,
rather than set each cell individually (I use such a bulk copy method
to set up OLE charts within the presentation already)
2) I would like to change the background color of the cells
However, I can find no sign of the above being possible when looking
at the Office 2003 PPT docs. I have tried recording a macro and
performing those actions -- nothing is recorded when they are
performed.
Any suggestions? My fallback, if the COM interface for at least #2 is
unavailable (#1 just means worse performance) is to use something like
"Watsup" to programmatically send key strokes/mouse clicks to
Powerpoint, but that seems rather inelegant.
http://www.tizmoi.net/watsup/intro.html
the method/property names are the same were I to use VB) to create a
presentation which contain tables. I have two issues:
1) since I have a lot of data to copy over, I would like to copy it to
the clipboard and then copy it to the already properly resized tables,
rather than set each cell individually (I use such a bulk copy method
to set up OLE charts within the presentation already)
2) I would like to change the background color of the cells
However, I can find no sign of the above being possible when looking
at the Office 2003 PPT docs. I have tried recording a macro and
performing those actions -- nothing is recorded when they are
performed.
Any suggestions? My fallback, if the COM interface for at least #2 is
unavailable (#1 just means worse performance) is to use something like
"Watsup" to programmatically send key strokes/mouse clicks to
Powerpoint, but that seems rather inelegant.
http://www.tizmoi.net/watsup/intro.html