"Marten Bauer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I did it yesterday like this way and it works well (part of my code):
>
>      wb.Worksheets.Add(Count=nrMonths,After=wb.Worksheets(1))
>

> As I read in MSDN you could not write After="sheet1" instead you must
> use the Object of sheet1 like in my example and it works well in my
> case. The Count=... statement will create n Sheets after the first
worksheet
>

Yes, I learn that as well.  The parameter to After is a Worksheet object.
It appears if you don't specify any parameters, it would add it Before the
current sheet.

Thanks,


>
> By
> Marten


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to