Dim flag As Boolean = FalseFor i As Integer = 5 To 10 Then If File.Contains("201501" & Format(i, "00")) Then flag = True Exit For End IfEnd If
If flag Then
End If