Hello, got a strange problem
I have a command button on a form that exports a Query to Excel.
<b>Private Sub Command11_Click()
DoCmd.OutputTo acOutputQuery, "qryMonthly", acSpreadsheetTypeExcel9, , True
End Sub</B>
On click I get the following Run-Time Error
<b>Run-Time Error 2282
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</b>
Any idea whats the problem? Am I missing Controls?
Txs in Advance,
Mike
I have a command button on a form that exports a Query to Excel.
<b>Private Sub Command11_Click()
DoCmd.OutputTo acOutputQuery, "qryMonthly", acSpreadsheetTypeExcel9, , True
End Sub</B>
On click I get the following Run-Time Error
<b>Run-Time Error 2282
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</b>
Any idea whats the problem? Am I missing Controls?
Txs in Advance,
Mike