The following code is supposed to open multiple books down a list in column B but only the first workbook listed opens
Sub OPENBOOK()
On Error Resume Next
Application.DisplayAlerts = True
Dim i As Byte
With Sheets("TOTE")
For i = 15 To 25
If Err.Number Then
GoTo NextFOR
Err.Clear
End If
If UCase(.Cells(i, "A").Value) = True And Cells(i, "B").Value <> "" Then
Application.Workbooks.Open ("C:\Documents and Settings\" & Cells(i, "B").Value)
End If
NextFOR:
Next i
End With
End Sub
Bookmarks