August 5th, 2003, 02:25 AM
does anybody know how to paste something in the clipboard into an excelsheet?
I tried the following code:
My problem is that i don't know how to use the Paste method.
xlApp = win32com.client.dynamic.Dispatch('Excel.Application')
xlBook = xlApp.Workbooks.Open("C:/test.xls")
xlSheet = xlBook.Worksheets("Test")
xlSheet.Range(sht.Cells(1, 1), sht.Cells(1, 1)).Activate()
August 8th, 2003, 04:29 PM
Two books you might be interested in if your working with COM are "Python Programming" and "Python Programming on Win32". You can read about & order both from Amazon.com. You might also wana look at the the Python cookbook too see if there is any sample code..
August 12th, 2003, 01:57 AM
I have these two books :-)
... but it doesn't help at all
August 12th, 2003, 05:49 AM
August 19th, 2003, 06:21 PM