Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: Tim MeagherI guess support is already looking/looked into this, but just a quick thought...
Do the sheets have different names in the different Excel workbooks?
If so, then what is happening is that the additional sheets are not being written.
It is only outputting the first sheet to the first output, and ignoring the rest if the worksheet name does not match.
As per the Excel node help:
Prior to determining which node outputs are to be used for each worksheet in the file, the worksheets are first placed into tentative output buckets.
This is done based first on the outputName or outputIndex parameters specified in the WorkbookSpec if any are set. If no WorkbookSpec parameter is set or if the outputName or outputIndex is not set for a given worksheet in an input file, then the worksheet is bucketed according to the name of the worksheet in the input file.
So if you want all of the different worksheets to be written to the same output - regardless of the name of the worksheet - you would need to configure the WorkbookSpec parameter to do this. Alternatively, you could change the sheet names within the workbooks.
If, however, you just want to read all of the data and write this all out, then you can create a new output on the Excel File node and set the MetadataOutputPin to the name of that output.
Then, all of the worksheets which can't be written to the first node output will be written to a temporary BRD file, and the name of the BRD file will be written to the output of the metadata output.
If you wanted to then join this data all into one output in the LAE, you could use the Multiple BRD Files node to read it all back in.
If the columns are different in the different worksheets, set the ConcatenationMode on the Multiple BRD Files node to "Union".
Hope this helps,
Tim.