acExport : Excel Transfer « Excel « VBA / Excel / Access / Word






acExport

 

Private Sub cmdSalesSheet_Click()
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qryAllSalesFigures", "C:\Sales.xls"
End Sub

 








Related examples in the same category

1.acLink
2.Linking a Spreadsheet