So, when going to the "Data" tab, selecting consults and connections and mannually updating the connections they work flawlessly, but when (after recording a macro doing these actions) running a couple lines of code that do this action it throws an error message "[DataFormat.Error] Esternal table is not in expected format".
Line of code: ActiveWorkbook.Connections("Consult").Refresh
Can somebody help make this work?
Line of code: ActiveWorkbook.Connections("Consult").Refresh
Can somebody help make this work?