Ah, this work: self.xlbook.Worksheets.Add(None,sht)
got it from: http://mail.python.org/pipermail/python-list/2003-September/183367.html Thanks again. -- Me "It's me" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Kartic" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I am not sure about this but I believe you can give a parameter > > after="sheet1". to Add(), like so, Add(after="sheet1"). > > > > I get a "got an expected keyword argument 'after'" from Add(). > > > Unfortunately I do not have Excel installed on this machine to confirm > > this. > > > > A tip: if you have VBA (which you should if you have Excel) installed, > > lookup the Add method for the Worksheets collection. VBA will show the > > code completion, with all the arguments for the method call. Try the > > same for any of the methods. > > > > Yes, I read about that but unfortunately I have no experience with VBA *at > all*. :=( > > > Thanks, > > --Kartic > > > > -- http://mail.python.org/mailman/listinfo/python-list