• 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.

Modifying the code

dreknapalci

New Member
Hello,

can somebody please modify the code. I want to:

  • The numbers which appears in column A- Exclude in sheet DATA should not be included in any of the RES. () sheets.
  • In addition please make sure to sort each one of the RES sheets from smallest to largest.

What the code does now: It copies the values from sheets F, AR, AD into F-RES, AR-RES, AD-RES, adds prefix "972" in front of the values, removes duplicates and empty rows + few more conditions, which are not important for this task.

So when values are copied from F, AR and AD sheets into RES sheets, the code must check also into sheet DATA into column A and not add that values into RES sheets.

Hopefully I explained it well enough, I would appreciate any help.

Thanks in advance!
 

Attachments

  • full_5.xlsm
    221.5 KB · Views: 4
Hi:

Sorry for the late reply. I was on my X'Mas and New Year break. I have modified the code.As per this logic you will get data only of F-RES , the other 2 tabs will be empty as the length of all the numbers on that tab is less than 12. Let me know with questions if any.

Thanks
 

Attachments

  • full_5.xlsm
    221.7 KB · Views: 2
Hey Nebu, no problem, thank you very much!

I modified your code a bit and now it works as a charm, thanks! :)

Happy and successeful 2016 ;)
 
Back
Top