← Back to team overview

sikuli-driver team mailing list archive

[Question #284257]: copy individual excel cell and put it to a different program using Sikuli 1.1.0

 

New question #284257 on Sikuli:
https://answers.launchpad.net/sikuli/+question/284257

from xlrd import open_workbook
from xlutils.copy import copy
rb = open_workbook('C:\\Users\\rupayan.nath\\Desktop\\New Microsoft Excel Worksheet.xls', formatting_info=True, on_demand=True)
wb=copy(rb)
wb.get_sheet(0).write(0,1,'changed!')
wb.save(join('C:\\Users\\rupayan.nath\\Desktop\\output.xls'))
rb = open_workbook('C:\\Users\\rupayan.nath\\Desktop\\output.xls')

This my code to to copy an excel document and edit it by writing some data. But I want to copy individual cell data and paste it to a different program. I request for your help

Thanks

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.