Win32com to copy Excel worksheet

Tim Howarth tim at worthy.demon.co.uk
Mon Oct 22 16:54:29 EDT 2001


In message <25cc93cd4a%tim at worthy.demon.co.uk>
          Tim Howarth <tim at worthy.demon.co.uk> wrote:

> I'm trying to enter data into Excel using win32com.client and would like
> to copy a worksheet.

>
> Sheets(1).copy Before:=Sheets(2)
> 
> My question, how do you pass the "Before:=Sheets(2)" parameter using


Repying to myself - tut.

Ah I was doing it right but hadsn't set something up properly -
(makepy?)

Sheets(1).copy(Before=Sheets(2)) does now work.

-- 
___
 |im    ---- ARM Powered ----



More information about the Python-list mailing list