[python-win32] (no subject)

Patrick Asselman iceblink at chello.nl
Wed May 20 19:52:37 CEST 2009


How would i translate a bit of visual basic code like below to Python?

     Range("F7").Select
     Selection.Copy
     Range("CO7").Select
     Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
         SkipBlanks:=False, Transpose:=False

I'm trying to copy the formatting of one cell to another cell. The  
above code is made with Excel macro.

Is there any pywin32 documentation on the implementation of MS Office  
code in Python, or maybe on how one would go about to discover this?  
I've looked on the web but didn't find any definitive reference on this?

Best regards,

Patrick Asselman


More information about the python-win32 mailing list