Hello everybody.

I have detected a problem with a cell with loooong text in it but I'm not sure of his source.

To reproduce it :
from win32com.client import Dispatch
excel = Dispatch('Excel.Application')
sheet = excel.ActiveSheet

sheet.Range('A1:C1').Value = ['test','test'*400,'test']
doesn't work :
pywintypes.com_error(-2147352567,"Une exception s'est produite.", (0, None, None, None, 0, -2416827284), None)

But :
sheet.Cells('A1').Value = 'test'*400
work

I have searching on google to see if I found an excel problem, but doesn't find. If I make copy/paste from Excel, it's ok.
Python 2.5
Pywin32-211
Office 2003 SP3

If someone has an idee...

Best regards

--

Sylvain Fauveau
Apli-Agipa
Tél: 03-26-58-18-28
Logo d'APLI-AGIPA
--Pensez à la nature et n’imprimez cet email que si nécessaire--

<<attachment: info.vcf>>

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to