Yeah I found that page yesterday before I posted as well but it's not closing the instance of excel either here's the code I was using when I tried that option as well if you can spot a problem I was unable to
Code:
sFileName = Lst_Files.Column(1) & "\" & Lst_Files.Column(0)
Set xlApp = CreateObject("Excel.Application")
Set xlFile = xlApp.Workbooks.Open(sFileName, , False)
For i = 1 To xlFile.Worksheets.Count
Set xlSheet = xlFile.Worksheets(i)
sSheetName = xlSheet.Name
DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel9, "CurrentTab_Link", sFileName, True, sSheetName & "!"
'****** I AM PERFORMING OTHER OPERATIONS HERE ******
DoCmd.DeleteObject acTable, "CurrentTab_Link"
Set xlSheet = Nothing
Next i
xlFile.Close False
Set xlFile = Nothing
xlApp.Quit
Set xlApp = Nothing
Though it has the same effect (linking all the sheets in order) the instance of excel is still not closed if I link, then remove the link from my access database.