I am running an excel refresh macro and getting an ODBC error.

When I go to debug the macro it is stopped at this point.

Selection.QueryTable.Refresh, BackgroundQuery:=False

Any suggestions to get this to stop happening please?

Thanks