I am trying to refresh an OLE DB query with some code.
I get the attached error whenever i run it my routine. The line of code it breaks on is
I can phsyically refresh it on the spreadsheet, just not in the code.
Does anyone know why this is?