[python-win32] win32com.client and excel problem

Frank Jacques kwa@crf-vogler.com
Wed, 19 Dec 2001 13:19:45 +0100


I've experienced a problem with my app while doing COM
interaction with excel.

I have to put the PageSetup.FitToPagesTall of an Excel
Worksheet to the value False.

The FitToPagesTall propriety can take a number or
False as value.

The problem is how do i set up the False value ?? There's
no 'constants.xlFalse' or so (constants.xlOff doesn't work...).
So, what is the integer value of False ??

When i pass 0 as the value, an exception is raised but when
i set the value to False in excel vba and read that one from
python, i get 0...

Thanks for any hint.

Best regards,
Frank