Re: Another PythonWin Excel question
From: It's me (itsme_at_yahoo.com)
Date: 01/06/05
- Next message: Terry Reedy: "Re: Python evolution: Unease"
- Previous message: Kartic: "Re: Another PythonWin Excel question"
- In reply to: It's me: "Re: Another PythonWin Excel question"
- Next in thread: David Bolen: "Re: Another PythonWin Excel question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 06 Jan 2005 00:31:53 GMT
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" <itsme@yahoo.com> wrote in message news:ou%Cd.8515$5R.6706@newssvr21.news.prodigy.com... > > "Kartic" <kartic.krishnamurthy@gmail.com> wrote in message > news:1104968382.403653.267060@f14g2000cwb.googlegroups.com... > > 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 > > > >
- Next message: Terry Reedy: "Re: Python evolution: Unease"
- Previous message: Kartic: "Re: Another PythonWin Excel question"
- In reply to: It's me: "Re: Another PythonWin Excel question"
- Next in thread: David Bolen: "Re: Another PythonWin Excel question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]