I want to create a macro that will delete all words that the spel checker in microsoft word underlines.
Is there a way to do it?
Printable View
I want to create a macro that will delete all words that the spel checker in microsoft word underlines.
Is there a way to do it?
Sure there is but it will take a decent amount of code. What version of Word are you using?
Moved from Classic VB forum.
GOOGLED IT AND FOUND THE CODE HERE
http://web.ticino.com/multilingual/m..._new_words.htm
Yes, its the GetSpellingSuggestions collection but the code example you linked to seems messy but should do the trick. If you want I can write one that is shorter and easier to follow?