I'm writing a batch macro to parse the scanned pdf files and to write the output for each file to a separate tab in Excel. When the macro was run, it was able to convert the files in the folder it is reading. However, I've encountered this error, Error: R (4): The field layout changed between subsequent calls to write.Alteryx with the same connection (Output1), when it was trying to output to the Excel file.
Can someone help to solve this error and let me know how to write the output for each file to a separate tab in Excel?