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.Add()
app.ActiveWorkbook.Sheets.Add(After=app.ActiveWorkbook.Sheets(3))

Which adds the sheet at the incorrect position. Is there a trick? How come
Excel gets confused?

Bernd
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to