I suspect there is an easy answer for this question but I can't find it anywhere! I am writing a function to plot a lot of data in excel and I am controlling the plotting with Python. I have generated all of the charts and each chart is its own sheet, but they are out of order. The VBA code for this is:
Sheets("Chart1").Move After:=Sheets(3)
This will take "Chart1" and move it after the 3rd sheet. How do I do this in Python? I know that the code is something along the lines of:
xlChart.Move(Before,After)
How do I tell python the Before and After parameters? I guess the big thing is I haven't figured out how to pass parameters in win32com programming.
Thanks in advance for any help!