Excel Character object through COM

Max Erickson maxerickson at gmail.com
Fri Aug 26 09:44:19 EDT 2005


"Krisz" <krisztian.sinka at ericsson.com> wrote in
news:1125057043.800968.180180 at g47g2000cwa.googlegroups.com: 

>>>> 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 there is a
> different way to modify the color of a charater through COM.
> 

try GetCharacters(1,1)

max



More information about the Python-list mailing list