Here is what I have so far:
I need to do 3 things with this code now:![]()
Sub snb() Dim j As Integer Dim sq As Variant Dim stra As Variant sq = Filter(Split("From JAN-01-2011 To JAN-15-2011"), "-") If Len(stra(i)) > 16 Then For j = 0 To UBound(sq) x1 = CDate(sq(j)) Next Else End If End Sub
1) They need to be saved in two separate variables
2) They need to be in date format
3) It also needs to work if the sting only has one date in it (like the example I gave)
Bookmarks