Hi,
Thanks for taking the time to view this post.
I need export an access query to an excel file which accomplished using the below code. The export will be posted on a SharePoint site for our customers to see, so i need to make it more "Pretty". Is there a way to customize the export (i.e. column height, row color, font etc) before it opens in excel?
Thanks in advanced
Private Sub Button_run_report_Click()
On Error GoTo Button_run_report_Click_Err
DoCmd.OutputTo acOutputQuery, "IDAS_help", "ExcelWorkbook(*.xlsx)", "", True, "", , acExportQualityPrint
Button_run_report_Click_Exit:
Exit Sub
Button_run_report_Click_Err:
MsgBox Error$
Resume Button_run_report_Click_Exit
End Sub