Jagdev Singh
Active Member
Hi Luke
Find the error. The line should be with the loop
Thanks for the code.
Regards,
JD
Find the error. The line should be with the loop
Code:
For Each c In rngNames
'Setup the AdvFilter
Worksheets("RAW_Data").Range("DR2").Value = c.Value
'For each name, get the records, and send the email
Call FilterData
Call Preview
c.Delete xlShiftUp
Next c
Thanks for the code.
Regards,
JD