I am confused about many things in your request. However, the following will open two workbooks in two folders based on the date in B2 and the path and filenames you have described, and make them available for further processing. Perhaps you can take it from there.
Option Explicit
Dim DelDt As Date, WkbkFullPath As String, DepotName As String
Dim CrewWkbk As Workbook, DepotWkbk As Workbook
Const CrewPath = "s:\Crew Numbers\Crew Details\"
Const DepotPath = "s:\Crew Numbers\Depot Details\"
Sub ProcessWorkbooks()
DelDt = Range("B2").Value
WkbkFullPath = CrewPath & Format(DelDt, "yyyy") & "\" & Format(DelDt, "mmmm") & _
"\Crew Details Week " & Format(DelDt, "ww") & ".xls"
On Error GoTo FileNotFound
Set CrewWkbk = Workbooks.Open(WkbkFullPath)
On Error GoTo 0
DepotName = "Norwich" ' Change this to extract the name from wherever it is
WkbkFullPath = DepotPath & DepotName & "\" & Format(DelDt, "yyyy") & "\" & Format(DelDt, "mmmm") & _
"\" & DepotName & " Crew Details Week " & Format(DelDt, "ww") & ".xls"
On Error GoTo FileNotFound
Set DepotWkbk = Workbooks.Open(WkbkFullPath)
On Error GoTo 0
' continue with code to process workbook data
Exit Sub
FileNotFound:
MsgBox Err.Description
End Sub
Bookmarks