In column C, i have a Text string spanning several hundred rows.
In columns ("H:M") are a list of names, that are repeated down.
I'm in need of a VBA script that will search through the text string, for key words from ("H:M") and remove all except those matching words.
As an example to go from this.
C ........................................................... H..... I..... J....K.....L....M
Bob and Mary, went to a dinner party...........Bob Fred Mary John Tim Sam
Sam met with John...................................Bob Fred Mary John Tim Sam
to this:
C........................................................... H..... I..... J....K.....L....M
Bob and Mary, went to a dinner party...........Bob Fred Mary
Sam met with John...................................Bob Fred Mary John Tim Sam
Thanks for any help!
Jeff
In columns ("H:M") are a list of names, that are repeated down.
I'm in need of a VBA script that will search through the text string, for key words from ("H:M") and remove all except those matching words.
As an example to go from this.
C ........................................................... H..... I..... J....K.....L....M
Bob and Mary, went to a dinner party...........Bob Fred Mary John Tim Sam
Sam met with John...................................Bob Fred Mary John Tim Sam
to this:
C........................................................... H..... I..... J....K.....L....M
Bob and Mary, went to a dinner party...........Bob Fred Mary
Sam met with John...................................Bob Fred Mary John Tim Sam
Thanks for any help!
Jeff