I am attempting to create a batch macro that reads a number of sheets from a single excel file. They have the same schema. The idea is to group by the company code, account code and name columns. The values from each sheet would then become the columns to the right of the grouped fields with the sheetname being the column header.
As an example, using the data attached, company ABC would be listed in column A followed by the account code and name in columns B & C. The subsequent columns D and onward would be the sheet names i.e. TAR PT Change, TAR PT ACQ and so on.
I am getting an error that reads sheet not specified when using the macro in my workflow. Any help is appreciated. Please see screenshots below for reference.
