I have 4 queries that I output to Excel sheets, my question is how can I get each Output To into a separate workbook so all the queries can reside in 1 file.
This is my statement from access....
Dim strFileName As String
strFileName = "G:\Derek\BreachedByDay\BreachedAlerts" & ".xls"
DoCmd.OutputTo acOutputQuery, "qryGrossAlert", acFormatXLS, strFileName, True
This is my statement from access....
Dim strFileName As String
strFileName = "G:\Derek\BreachedByDay\BreachedAlerts" & ".xls"
DoCmd.OutputTo acOutputQuery, "qryGrossAlert", acFormatXLS, strFileName, True