I kind of know what the problem is, I have code to export a query to excel spread sheet, got the code and lessons from a site "Access Jitsu", got the code working good until I added the "Between Dates" criteria in the query. Without the date criteria it works great. I'm sure I have to add this to the SQL line, but don't know how.
This is what I have and everything works until I add the DateReceipt range: Between [Forms]![pfrm_ExpenseSelectRpt].[cboStartDate] And [Forms]![pfrm_ExpenseSelectRpt].[cboEndDate]
SQL = "SELECT NoOrder, DateReceipt, Amount, VenderStore, CostCode, Description, Project, ReceiptYN, Explain " & "FROM qry_ReportExpenseRange " & "ORDER BY DateReceipt "
Any help would be appreciated. Not an expert by no means, construction worker, but love access, it does a lot once it's done.