I tried to change value with below code but error occurred. Error message is 'sheet1 is not defined'. When i put text ex) "25-Sep-2020", it worked well.
Set ele = bot.FindElementByXPath("//tr//tr//tr//tr//tr//tr//tr//tr//tr[2]//td[2]//span[1]//span[1]//table[1]//tbody[1]//tr[1]//td[1]//span[1]//table[1]//tbody[1]//tr[1]//td[1]//input[1]")
attrScript = "arguments[0].setAttribute('value', sheet1.range ['B2'])"
bot.ExecuteScript attrScript, ele
Thank you in advcane.