• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Advance Filter in sheet2 to move few column from sheet1 in difference order

Hi Luke

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
 
Back
Top