I need to open an excel file and read/write certain info in it. I’m using an excel application scope to do it. However, the issue is, it opens the excel file every time which takes about 2 mins. My process requires to go into the excel file around 50 times a day so this 2 mins adds up.
Is there a way to perform excel application scope activities in an already open excel file? So it does not need to reopen the excel file each time? Currently, the users just keep the excel file open on their desktop all day.
At the start of your process, just set an output variable on the excel application scope with whichever file you want to open, that creates a variable of workbook type that stores that particular workbook instance - you can then use that within any other additional workbook application scope (instead of passing in the file path - you pass in the workbook variable to ExisitingWorkbook)
You can then use Close Workbook activity at the end of your process / end of the day
If you need to keep reading and writing in this excel file and it is in a simple network volume, i guess maybe see if you can use the activities inside System - File - Workbook instead of using an excel scope…