S
Stuart
From Excel, I create a new mdb (named as the active
excel workbook) and a new table (named as the
activesheet). With the connection open, I call this sub:
Public Sub ImportSpreadsheet(strTable As String, _
strFileName As String, strWorkSheet As String, _
strRange As String)
and then:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8, _
strTable, strFileName, , strWorkSheet & "!" & strRange
and get the error:
Field 'F1' doesn't exist in the destination table 'Demolition'
What does this error mean, please?
excel workbook) and a new table (named as the
activesheet). With the connection open, I call this sub:
Public Sub ImportSpreadsheet(strTable As String, _
strFileName As String, strWorkSheet As String, _
strRange As String)
and then:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8, _
strTable, strFileName, , strWorkSheet & "!" & strRange
and get the error:
Field 'F1' doesn't exist in the destination table 'Demolition'
What does this error mean, please?