Anticephalous
Registered User.
- Local time
- Today, 11:44
- Joined
- Jun 3, 2015
- Messages
- 35
Hi guys, could anyone help me please. I got this code that exports table to excel file
it exports but the problem is that the field Sector, which is a dropdown table/query, instead of exporting what was selected, it gives me characters.Dim outputFileName As String
outputFileName = CurrentProject.Path & "\List of Companies" & Format(date, "dd-MMM-yyyy") & ".xls"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "Companies", outputFileName, True