Just a quick question about the batch macro.
I have about 33 files that im looping through and going through each sheet as well. I have one control parameter that replaces the entire filepath to the same file but a different sheet. This is being done by having a table being put into the control parameter with each row being a filepath with its sheet at the end. For example, if 3 files had sheets labelled 1-5, the table would have 15 rows being put into the control parameter.
I'm wondering what Alteryx does in this situation. Does it
1. open the file from row 1 and the sheet associated
2. run the workflow with this file
3. close the input file
4. open the file from row 2 (the same file but different sheet)
5. run the workflow for this file
6. close the input file (the same file that was opened and closed already)
or does it (or can it):
1. open the file from row 1
2. access the sheet and run the workflow
3. check if row 2 uses the same file
4. if so simply access the next sheet, if not close the previous file and open the new one
5. access the sheet and run the workflow
6. checks if row 3 uses the same file from row 2...
I'm asking because when I initially made my workflow in python, the bulk of the time was spent opening the actual (quite large) excel files. My workflow currently takes a while to run and im trying to optimize it by combining some of the files into one book, if that would even work. Thanks