Another PythonWin Excel question

It's me itsme at yahoo.com
Thu Jan 6 01:31:53 CET 2005


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 at yahoo.com> wrote in message
news:ou%Cd.8515$5R.6706 at newssvr21.news.prodigy.com...
>
> "Kartic" <kartic.krishnamurthy at gmail.com> wrote in message
> news:1104968382.403653.267060 at 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
> >
>
>





More information about the Python-list mailing list