In Microsoft Office Access 2007, you may experience one or more of the following symptoms.
SendObject macro action. In the macro action, the value of the
Object Type argument is Report. In this scenario, the option to export the report to the Excel format does not appear in the Output Format list..
Microsoft Excel 97-2003. In this scenario, you may receive the following error message:
OK in the Action Failed dialog box, error 2950 is displayed.
ObjectType argument is acSendReport, and the value of the OutputFormat argument is
acFormatXLS. Alternatively, you run a VBA procedure that contains the OutputTo method. In this method, the value of the
ObjectType argument is acOutputReport, and the value of the OutputFormat argument is
acFormatXLS. In this scenario, you may receive the following error message:
Symptom 1
Consider the following scenario. You try to export a report to a Microsoft Excel format. To do this, you right-click the report in the navigation pane, and then you point to Export. In this scenario, you may find that the Excel option is unavailable.Symptom 2a
Consider the following scenario. You try to export a report to an Excel format by using the OutputTo macro action or theSendObject macro action. In the macro action, the value of the
Object Type argument is Report. In this scenario, the option to export the report to the Excel format does not appear in the Output Format list..
Symptom 2b
Consider the following scenario. You run a macro that was created in an earlier version of Access. The macro has the OutputTo action or the SendObject action. In the macro action, the value of the Object Type argument is Report, and the value of the Output Format argument isMicrosoft Excel 97-2003. In this scenario, you may receive the following error message:
The format in which you are attempting to output the current object is not available. Either you are attempting to output the current object to a format that is not valid for its object type, or the formats that enable you to output data as a Microsoft Excel, rich-text format, MS-DOS text, or HTML file are missing from the Windows Registry. Run Setup to reinstall Microsoft office Access or, if you're familiar with the settings in the Registry, try to correct them yourself. For more information on the Registry, click Help.
When you clickOK in the Action Failed dialog box, error 2950 is displayed.
Symptom 3
Consider the following scenario. You run a Microsoft Visual Basic for Applications (VBA) procedure that contains the SendObject method. In this method, the value of theObjectType argument is acSendReport, and the value of the OutputFormat argument is
acFormatXLS. Alternatively, you run a VBA procedure that contains the OutputTo method. In this method, the value of the
ObjectType argument is acOutputReport, and the value of the OutputFormat argument is
acFormatXLS. In this scenario, you may receive the following error message:
Run-time error '2282': The format in which you are attempting to output the current object is not available.