This thread is not about how to solve a particular problem but more why it is working this way:
I wanted to make a simple batch macro which is capable of combining data from different excel files with different sheet names (so input with wildcards does not work).
My initial idea was a 2-step batch macro: 1st using the Directory-Tool to get the file names, 2nd a batch macro to get the sheet names for each file and 3rd a batch macro which combines filenames and sheets to finally read out and combine the data in the files.
I was surprised that this worked with a single batch macro (see example attached to this thread) where I chose <List of Sheet Names> and replaced the complete String.
Can anybody explain me why this batch macro outputs the already unioned data sample and not the List of Sheet Names as chosen in the properties inside the Input tool of the Macro?
Looking forward to you answer(s)!