Are the files all in the same folder? And are either other files in the folder?
There are many bits of vba code on here that loop through all the files in a folder you put this code into a master workbook and then run it for all the files in a folder the you define. It is looking for all xls files but you could change it to fit accordingly, but hopefully a start
Sub OpenFiles()
Dim MyFolder As String
Dim MyFile As String
MyFolder = "C:\example"
MyFile = Dir(MyFolder & "\*.xls")
Do While MyFile <> ""
Workbooks.Open Filename:=MyFolder & "\" & MyFile
LastRow = ActiveSheet.Cells(ActiveSheet.Rows.Count, "A").End(xlUp).Row
Range("J17:j"& lastrow).FormulaR1C1 = "=RC[-9]/86400"
Range("J17:j"& lastrow)..NumberFormat = " hh:mm:ss.000"
ActiveWorkbook.Close SaveChanges:=True
Loop
End Sub
Bookmarks