Hello Clay,
We looked into the text format of your task. We suggest you to use Excel command to work with multiple excel files. That way the actions will be performed in specified worksheet only irrespective of the active window and your task will run faster. You can specify a different session name while opening each spreadsheet. Each time you use the ‘Open-Spreadsheet’ command, it starts a session named ‘Default’ and that will continue to run unless you ended the session using the ‘Close Spreadsheet’ command or close the spreadsheet manually. All the commands between ‘Open-Spreadsheet’ and Close Spreadsheet’ are dependant on the session which is started using the ‘Open Spreadsheet’ command.
You can view demo on Excel commands usage from,
Excel Automation Software - Automate Excel functions with Automation Anywhere