Excel Character object through COM

2005-08-26 Thread Krisz
Hi! Maybe this question is already answared somewhere, but I could not find it: I want to modify one of the letters of a text of a Excel cell through COM; let's say to make it red. The VB reference tells that it can be managed with: With Worksheets(Sheet1).Range(A1) .Value = abcdefg

Re: Excel Character object through COM

2005-08-26 Thread Max Erickson
Krisz [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: A.book.Worksheets(1).Range(a1).Characters(1,1) Traceback (most recent call last): File interactive input, line 1, in ? AttributeError: Characters instance has no __call__ method So my question is that am I doing something wrong or

Re: Excel Character object through COM

2005-08-26 Thread Krisz
Thanks, it works... Krisz -- http://mail.python.org/mailman/listinfo/python-list