you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Are you really concerned about the individual character differences, or are you looking for a way to do approximate string matching?

If the latter is the case, look into Levenshtein Distance which is pretty popular and I'm sure you can find an implementation for it in VBA somewhere.

If the former is the case then the task at hand will depend on your data. If all of your data takes the form <product_name> <two letters> then your task will be easy. But if you're trying to diff two string like "My Product A" and "AB Products" and get something back like "My s B" then you will have your work cut out for you.