VBA Excel: Highlight and copy non-existing or existing values based on a config Sheet v2

Hello experts,

Attached you will find an excellent code which cover the following question:


I would like to add additional requirements to this excellent code:

1- Allows the concatenation process for more than 2 columns
2-If destinationSheet (sheet used to paste the highlight values doesn't exist) create it
3-Take into account a flag parameter reported in  Column H:
If  value is equal to 1 the macro should highlight the values in ResultRange that exist in ComparisonRangeSheet. If value is equal to 0 the macro should highlight the values in ResultRange that don't exist in ComparisonRange always based on our keys (current comparison performed by the macro).
4-Add RowsKey N° which is the count of Result Key value located in ResultRangeSheet an ISNA/EXIST N° which is the count of Result Key values located in DesitnationResultSheet.
5-Include in the Verification process if flag parameter is different from 0 or 1 if it is the case report the error and stop the program.


The most important is to cover requirements 2, 3, 4, 5 if requirement 1 is to complicate to cover I will drop this requirement.

If you have questions, please don't hesitate to contact me.

Thank you very much for your help.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ejgil HedegaardCommented:
All requirements added to program.
Also more check of input on Config sheet.

Destination Result Sheet names in column C are always composed from column A, B and H.
Existing value replaced.
If sheet exist it is used, otherwise created after last sheet.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LD16Author Commented:
Tested and it works perfectly amazing work!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you very much for the additional checking process!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you very much for this Code!!!!!!!!!!!!!!!!!!!!!!!!!!!!
LD16Author Commented:
Great job!!!!!!!!!!!!!!!!!!!!!!!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.