[python-win32] Excel2000 and password

Tom ful_tom@yahoo.com
Thu, 6 Mar 2003 06:08:01 -0800 (PST)


Hello,
 I have a problem with opening a password protected
xls document. When program runs, a Excel dialog prompt
for password is always displayed.
  Here is a code:
self.xlApp =
win32com.client.Dispatch('Excel.Application')
self.xlBook = self.xlApp.Workbooks.Open(filename,
Password="Mypasswd")

What's wrong? A parameter name Password is correct.   

Thanks Tomas
 

=====
ful_tom@yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/