[python-win32] Excel Paste Special Error

Qing Xu xuqingsz at gmail.com
Mon Jul 28 21:58:28 CEST 2014


Hi All

Original code:

import win32com.client
import win32clipboard
from win32com.client import Dispatch

ws_fc_ipn.PasteSpecial(Paste=-4163)


Wanted copy and paste special (paste value) to selection. Gave me

"Type Error: PasteSpecial() got an unexpected keyword argument 'Paste' "

If anyone knows where the mistake is that would be great!

-- 
Qing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20140728/f7009674/attachment.html>


More information about the python-win32 mailing list