[python-win32] Help Excel Python Setting the Active Worksheet

Frank Jacques kwa@crf-vogler.com
Fri, 08 Feb 2002 14:23:22 +0100


Hi,

You've got to use the Activate Method:
xl.Worksheets("Sheet1").Activate()

Good luck,
Frank



"Sayed A. Kooshesh" wrote:

> Hi again,
> I can't seem to find the object that will set the active worksheet.
>
> xl.ActiveWorkSheet is readonly
>
> any ideas?
> thanks
> -Ari
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> What's the difference between fate and destiny?
>
> Your destiny is determined by your actions.
> Your fate is determined by your destiny.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32