[python-win32] Range('A:A,D:D,G:G') in excel

Sylvain FAUVEAU (apli-agipa) info at apli-agipa.com
Fri Feb 3 14:28:47 CET 2006


> If i run a macro in excel (Office 2003 SP1) to select 3 columns for 
> exemple, the code in VB is :
> Range('A:A,D:D,G:G')
>
> But if I try this in python, I have a beautiful traceback :
> excel.ActiveSheet.Range('A:A,D:D,G:G')

I don't know why, but if I change the ',' by ';' it's ok !

Sylvain FAUVEAU 



More information about the Python-win32 mailing list