OK, I'm back, if you are by any chance still monitoring this thread (and I hope you are). I managed to eliminate the, uh, false positives that were being generated by the "shipping" and "sales tax" SKUs.
You are correct that it's still returning too many records. When I run it with the date set to November 2 2015, it's reporting each repeated SKU, but doesn't seem to be using the CustomerID to determine whether a specific customer has ordered a specific SKU before. Thus, if SKU 855114005270 has been purchased by both CustomerID 115 and 277 (which in this date range it has), the MsgBox is triggered. It appears to be just looking at repeated purchases of the same SKU.
That seems to be the rub. I'm afraid your code is still above my head. Is there any more information I could provide that would help unravel this?
Code:
If [COLOR=Green](Not strOutSKU Like "Shipping") And (Not strOutSKU Like "Sales Tax*")[/COLOR] And (strOutSKU = strInnSKU) And (strOutCustID = strInnCustID) Then _
MsgBox "It appears that Customer " & strOutCustID & " has previously ordered " & strInnSKU & " - " & strInnProduct & " within the past 60 days"
That seems to be the rub. I'm afraid your code is still above my head. Is there any more information I could provide that would help unravel this?