Hi,
I'm trying to import multiple Files/Sheets.
Since they Have different Schemas, I want the user to select the column numbers for specific fields.
I'm starting off the batch macro as below.

This works fine for most cases.
However, if some sheets does not have the specific column(for example, the vendor info column), I'm not sure how to handle this. (Of course, the macro results in errors if I input a 0 or non numeric value such as "N/A")

I can use a detour tool if I know how many columns can have N/A values, but I want to make the macro a bit more dynamic.
Does anyone have a solution for this??
Thanks.