Good morning
A button on my database runs a query and saves the results to an Excel workbook. Does anyone know how to alter this code to automatically open the workbook after it is saved please?
Thank youCode:DoCmd.OpenQuery "qryData", acViewNormal, acEdit
DoCmd.OutputTo acOutputQuery, "qryData", acFormatXLSX
Mykal