I am trying to develop a program where the end state will be this program finding all instances of similar text within cells from multiple sheets and grouping it together. This question is going to deal specifically with the sub process I am trying to make dealing with the comparison portion. I created the following code which is simply a test to see how my comparison could work. It compares two cells right next to each other and goes letter by letter and spits out a similarity score. The code is below
The problem with this code is the results are not what I am wanting. For example if I have entries "This is a test string" compared to "Ths is a text string" due to my macro comparing value by value a mistake in the beginning makes the similarity score very low when in actuality the only error is a missing "i" Does anyone have suggestions for this code to compare word by word instead of value by value? I use the word value here because there will be instances where the "text" will include numbers such as 90% for example.
Bookmarks