Dim lngCount As Long
Dim strSheets() As String
Dim xls As Excel.Application, xlw As Excel.Workbook
Set xls = New Excel.Application
Set xlw = xls.Workbooks.Open("C:\test.xls")
ReDim strSheets(0 To xlw.Worksheets.Count - 1)
For lngCount = 0 To xlw.Worksheets.Count - 1
strSheets(lngCount) = xls.Worksheets(lngCount + 1).Name
Next lngCount
xlw.Close False
Set xlw = Nothing
xls.Quit
Set xls = Nothing
For lngCount = LBound(strSheets) To UBound(strSheets)
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
"TableName", "C:\test.xls"
Next lngCount
----- Ron wrote: -----
Still no good. I have the file at "C:\test.xls" and get the same