Hi All. Usually I'm able to review others' previous questions and patch together a useable Macro. Today, however, is a different story.
I have a beginning date that I'm finding via the following (search for the first blank cell in the column, then set over one column to the left to find the associated date).
Range("b3").Select
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell) = True
ActiveCell.Select
From here I'd like to take that value and use it in a loop in a fashion similar to:
For x = (date found above) to (end day of the current month, as of the date found above)
"X" would be inserted into this (along with a lot of trailing code that I'll spare you):
Sheets("Data Drop").Select
Range("B1").Select
Application.CutCopyMode = False
Selection.AutoFilter
Selection.AutoFilter
ActiveSheet.Range("$A$1:$M$2888").AutoFilter Field:=13, Criteria1:="DS"
ActiveSheet.Range("$A$1:$M$2888").AutoFilter Field:=3, Criteria1:= _
"=GR for order", Operator:=xlOr, Criteria2:="=GR for order rev."
ActiveSheet.Range("$A$1:$M$2888").AutoFilter Field:=10, Criteria1:=X
Next x
Calculate
Thanks in advance to anyone able to offer up some direction!
I have a beginning date that I'm finding via the following (search for the first blank cell in the column, then set over one column to the left to find the associated date).
Range("b3").Select
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell) = True
ActiveCell.Select
From here I'd like to take that value and use it in a loop in a fashion similar to:
For x = (date found above) to (end day of the current month, as of the date found above)
"X" would be inserted into this (along with a lot of trailing code that I'll spare you):
Sheets("Data Drop").Select
Range("B1").Select
Application.CutCopyMode = False
Selection.AutoFilter
Selection.AutoFilter
ActiveSheet.Range("$A$1:$M$2888").AutoFilter Field:=13, Criteria1:="DS"
ActiveSheet.Range("$A$1:$M$2888").AutoFilter Field:=3, Criteria1:= _
"=GR for order", Operator:=xlOr, Criteria2:="=GR for order rev."
ActiveSheet.Range("$A$1:$M$2888").AutoFilter Field:=10, Criteria1:=X
Next x
Calculate
Thanks in advance to anyone able to offer up some direction!