Blink graças a tua preciosa ajuda jáconsegui terminar um dos programas apr

...
Estou agora a meio de outro e surgiu-me outro problema.
Tenho de importar uma folha de excel para uma tabela do meu programa de access.
Programa: Main.mdb
Ficheiro Excel: L:\Alarmes.xls
Tabela Access que vai recolher dados: ListaAlarmes
Estou a usar o seguinte código:
____________________________________________
Private Sub Command2_Click()
Dim strPathFile As String, strFile As String, strPath As String
Dim strTable As String
Dim blnHasFieldNames As Boolean
blnHasFieldNames = True
strPath = "L:"
strTable = "ListaAlarmes"
strFile = Dir(strPath & "Alarmes.xls")
Do While Len(strFile) > 0
strPathFile = strPath & strFile
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
strTable, strPathFile, blnHasFieldNames
strFile = Dir()
Loop
End Sub
__________________________________________
Quando chega à instrução
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9,_
strTable, strPathFile, blnHasFieldNames
Dá erro dizendo
RunTime error 2391
Field'F1' doesn't exist in destination table 'ListaAlarmes'
Qual a formatação que deve ter a minha tabela se não tiver um numero certo de colunas e linhas da folha de excel a importar [s)]
