Hi,
I have used this standard code many times in the past with success to export data from Access to Excel file.
StrFileName = strFilePath & "SnOP_DP_FL01_DPData" & strDateTag & ".xlsx"
DoCmd.TransferSpreadsheet acExport, 10, "tempaaaaaaaaaaaaaaa", StrFileName, True
For some reason, now when I export the data, I get a file but with NO data. the tab name comes with some weird name as A266FF2A662E84b639DA
Please advise as what I should do to fix this error
I have used this standard code many times in the past with success to export data from Access to Excel file.
StrFileName = strFilePath & "SnOP_DP_FL01_DPData" & strDateTag & ".xlsx"
DoCmd.TransferSpreadsheet acExport, 10, "tempaaaaaaaaaaaaaaa", StrFileName, True
For some reason, now when I export the data, I get a file but with NO data. the tab name comes with some weird name as A266FF2A662E84b639DA
Please advise as what I should do to fix this error