Hi,
Am trying to read a range from one workbook and writing the range in another workbook.
But i get an error saying: Write Range: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index
Below is the screenshot of sequence. Pls Note: I dont want to use excel scope application. I would like the solution usin workbook activity.
Hi
are we using same excel file to be updated
if so use a KILL PROCESS activity in between these two activities and mention the process name property as “EXCEL” and then try once pls
i wonder why this comes up
because in write range the only way for index is with the range, its mentioned correctly
then another chance is due to the application is already opened and we have used kill process as well
hmm…kindly recreate once this better with a restart of studio
not sure this would work, lets try
Both will do the same purpose right @hss? . But if it is working fine, then we can debug the issue where it is going wrong. so just asked to try it once
@Hareesh… Do u mean workbook activities inside excel scope… or do u mean an exclusive excel activities thing?? Coz the former wouldn’t be correct and the latter works.
Hi to all.
I had exactly the same issue with the write range activity.
Just I didn´t got the content from another excel range than from a DataTable.
Definitely not the nicest solution but worked in my case, I had to delete the whole sequence and build it up again the same way. It worked Unfortunately not the first time I had to fix issues like this with uipath in that way.