louchey
Member
- Local time
- Today, 01:08
- Joined
- Mar 24, 2003
- Messages
- 38
Hi Guys,
I Have been using this function basically to export data to .xls and giving the last part of the file name as todays date. Been working fine, but I've noticed today that is not formatting the date to DD/MM/YYYY anymore??
Can anyone see anything I'm missing??
Thanks for any help
Louchey
Public Function exportFile()
Dim FileToExport As String
FileToExport = "S:\SHARED\Ben L\Pipe_Supports_" & Format(Date$, "dd-mm-yyyy")
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "Pipe_Supports", FileToExport
End Function
I Have been using this function basically to export data to .xls and giving the last part of the file name as todays date. Been working fine, but I've noticed today that is not formatting the date to DD/MM/YYYY anymore??
Can anyone see anything I'm missing??
Thanks for any help
Louchey
Public Function exportFile()
Dim FileToExport As String
FileToExport = "S:\SHARED\Ben L\Pipe_Supports_" & Format(Date$, "dd-mm-yyyy")
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "Pipe_Supports", FileToExport
End Function