Below is portion of the code. there are hundreds of lines since there so many exceptions and clean up that's being done on the tables that come over.
I have added a new example to the workbook (if that's helpful).
then there are a series of formula tests that are done and depending if arguments are TRUE/FALSE then more macros and other type of clean up macros are run.
because the body of the table can be cleaned by "simply" running and re-running clean up macros, the body ends up in a good place, however the headers are random
when using available, published extraction methods.
so the burning question is whether there's another extraction method that preserves headers better or one needs to be built.
Bookmarks