I find it hard to believe that this doesn't work in A03, is it true a03 will not do a transfer spreadsheet to excel 07? I usally can't find the little secrets around this site so I'm asking here.
Any help would be appreciated.
Code:
Option Compare Database
Private Sub cmd_XFER_2007_Click()
Call XFERExcel2007
End Sub
Function XFERExcel2007()
On Error GoTo XFERExcel2007_Err
DoCmd.SetWarnings False
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "QRY_OUTPUT", "C:\SATS.xlsx", -1
DoCmd.SetWarnings True
XFERExcel2007_Exit:
Exit Function
XFERExcel2007_Err:
MsgBox Error$
Resume XFERExcel2007_Exit
End Function
Any help would be appreciated.