Hi ExcelFox

I while back you provided me with code to close csv files that are open.It worked previosly, but when using it, one of the csv files won't close called

BR1 SalesLedgerOutstandingTransactions.csv

It would be appreciated if you would assist



Code:
  For Each wbk In Workbooks
        If wbk.FileFormat = 6 Then
            wbk.Close 0
        End If
    Next wbk
    
End Sub