I have a project that basically the goal is to generate Excel (Report) starting the Click of a button in Access using VBA.
The contents of this report is the result of a
You don't say what Office version, but in Excel 2007/10 a QueryTable is a property of a Listobject so your code would be like:
With MeuExcel.Worksheets.ListObjects.Add(Connection:=rs, Destination:=Range("A2")).QueryTable