Kalyan Ganesan
Programmer
When i use DoCmd.TransferSpreadsheet to export, it assings a default folder and it allows me only to give the file name,how do i assign the folder name as well?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub testExport()
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "tblShifts", "C:\data\access\MyExcelFile.xls", True
End Sub