'Copy text range and pate in web element using selenium python

I have excel which I need to copy range of rows and paste in web element. I tried following code by it's not working. I am not seeing data pasted in website.

excel = client.Dispatch('Excel.Application')
wb = excel.Workbooks.Open(file)
sheet = wb.Sheets['Sheet1']
excel.Visible = 1
lastrow = sheet.UsedRange.Rows.Count
row = str(lastrow)
sheet.Range('A1:C' + row + '').Copy
driver.find_element(By.XPATH, "//textarea[@id='activity-stream- 
textarea']").send_keys(Keys.CONTROL,"v")


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source