Starchildren3317
Registered User.
- Local time
- Today, 13:45
- Joined
- Nov 30, 2010
- Messages
- 11
Good Morning community,
I have an access 2003 application that I am trying to convert to access 2010. The one issue that I am running into is exporting a report that I have to an excel sheet.
Here is the code that I currently have in A2003 (NOTE - outReportData is a string containing the name of my report and xlFileName is a string containing the path to the excel file):
This works fine in A2003; however, when running it in A2010 I get the following error:
The format in which you are attempting to output the current object is not available.
Any assistance in this would be greatly appreciated!
I have an access 2003 application that I am trying to convert to access 2010. The one issue that I am running into is exporting a report that I have to an excel sheet.
Here is the code that I currently have in A2003 (NOTE - outReportData is a string containing the name of my report and xlFileName is a string containing the path to the excel file):
Code:
DoCmd.OutputTo acOutputReport, outReportData, acFormatXLS, xlFileName
The format in which you are attempting to output the current object is not available.
Any assistance in this would be greatly appreciated!