Find a word in doc1, search for it in dictionary doc2, copy the meaning from doc 2 to doc 1
Hi
I have a 2000 page file that has sentences in the following format.
Tim is a nice boy. (Tim) (is) (a) (nice) (boy) (.)
Jane is a nice girl. (Jane) (is) (a) (nice) (girl) (.)
Most of the words inside the brackets () above have their meanings written in a different document, like a dictionary where the word is bold and the meaning is unbold. Everything is case sensitive. For e.g.
nice-kind, gentle
I want help with a macro please that searches the dictionary document for each word inside the parentheses in document 1 and then inserts the meaning next to it in blue color. For e.g. if I ran the macro, the result would be:
Tim is a nice boy. (Tim) (is) (a) (nice)-kind,gentle (boy) (.)
Jane is a nice girl. (Jane) (is) (a) (nice)-kind,gentle (girl) (.)
Thank you for your time.
|