How would I change this code over from Excel to Access code:
The reason I am needing to, is I imported excel modules into access, and it doesn't appear to run this module.Code:Dim wks As Worksheet Dim qt As QueryTable For Each wks In Worksheets For Each qt In wks.QueryTables qt.Refresh BackgroundQuery:=False Next qt Next wks Set qt = Nothing Set wks = Nothing