Hi everyone,
I have the following problem:
I have a macro which reads several input files, transforms them and appends the results to an output file. Before running this macro, I would like to clear the output file to avoid duplicates. This can be easily done be reading the output file, using a sample tool and output it again. The latter is an independent workflow which is not connected to the macro as it should run only in the beginning, not after every batch. My question would be, how can I define the order of these two processes? When I click on "run", the batch macro starts to work, afterwards the output file is cleared. It should be the other way round.
I would appreciate any kind of help.
Thanks in advance.
PS: Simply "overwrite the sheet" in the output tool is not an option as the macro processes one file after another rather than all the files together.