The WorkbookQuery became available with Excel 2016 and is available in the Microsoft Excel 16.0 Object Library. What conditional compilation or late-binding string will allow me to manage what code gets run.
I have no way of testing this, but I imagine earlier versions of Excel will just get compilation errors if I leave it as it is.
I have no way of testing this, but I imagine earlier versions of Excel will just get compilation errors if I leave it as it is.