I have an Access database. I would like to automatically query the table Data_01 and export the results to an Excel spreadsheet using ADO in VBScript on a daily basis. At present my skills in ADO are lacking.
- I have a date time column that I would select items from yesterday and today. In a GUI query the criteria would be 
Between Date() And Date()-1 - I have a 
PartNumbercolumn that I would like select a specific part number. In a GUI query the criteria would beSeries 400 - I would then like to select other columns based on the criteria in items 1. and 2.
 - I would like to get the header row for the columns also.
 
I am presently exporting the entire table to Excel and then using a VBScript to select the columns that I want and then deleting all unwanted data, then auto-fitting the columns for my final output file. This appears to be somewhat processor- and time intensive.