Function ImportExcelFiles()
Dim strPathFile As String, strFile As String, strPath As String
Dim strTable As String
strPath = "C:\Access Test\BOTH\"
strFile = Dir(strPath & "*.xlsx")
MyName = Dir("C:\Access Test\BOTH\" & "*.xlsx", vbNormal)
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tbl_Results", "001 - Downtown Indiana", True, "For Management Use Only!A1:K53"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tbl_Results", "002 - Plumville", True, "For Management Use Only!A1:K53"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tbl_Results", "003 - South Fork", True, "For Management Use Only!A1:K53"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tbl_Results", "004 - Blairsville", True, "For Management Use Only!A1:K53"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tbl_Results", "005 - Regency Mall", True, "For Management Use Only!A1:K53"
DoEvents 'don't take over all of the PC resources
strFile = Dir()
MsgBox "Import complete.", vbInformation, "Done"
End Function