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
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to