Re: [python-win32] Named parameters; Adding Excel sheet

2011-08-10 Thread Tim Golden
On 10/08/2011 13:46, David Robinow wrote: from win32com.client import Dispatch app = Dispatch ("Excel.Application") app.Visible = 1 # Watch what's going on wb = app.Workbooks.Add () # [Sheet1], [Sheet2], [Sheet3] wb.Sheets.Add (After=wb.Sheets (3)) # [Sheet1], [Sheet2], [Sheet3], [Sheet4] Do

Re: [python-win32] Named parameters; Adding Excel sheet

2011-08-10 Thread David Robinow
On Wed, Aug 10, 2011 at 6:56 AM, Tim Golden wrote: > On 10/08/2011 11:15, A. S. wrote: >> >> I've worked with pywin32 and up to now inspecting the Excel macro editor >> and translating commands worked fine, but now I cannot manage to add a >> sheet at the correct position in Excel. >> >> My test p

Re: [python-win32] Named parameters; Adding Excel sheet

2011-08-10 Thread Tim Golden
On 10/08/2011 11:15, A. S. wrote: I've worked with pywin32 and up to now inspecting the Excel macro editor and translating commands worked fine, but now I cannot manage to add a sheet at the correct position in Excel. My test program is from win32com.client import Dispatch app=Dispatch("Excel.

[python-win32] Named parameters; Adding Excel sheet

2011-08-10 Thread A. S.
Hello! I've worked with pywin32 and up to now inspecting the Excel macro editor and translating commands worked fine, but now I cannot manage to add a sheet at the correct position in Excel. My test program is from win32com.client import Dispatch app=Dispatch("Excel.Application") app.Workbooks.A