i hace some reports that i have created through some sql queries and i export them to excel with the
DoCmd.OutputTo acOutputReport, "Comments_Report", acFormatXLS, "C:\mpla_mpla.xls"
the problem is that to some columns i has some alias for example
select (NameID) as ID, (Surname) as Sur
from...