I know how to write a VBA script inside Excel to perform certain operations on a spreadsheet.
What I want to know is if I can do the same thing in Microsoft Word to perform certain operations on the Word file that I am editing. Specifically I want to be able to find adverbs and adjectives. There are many novel writing coaches who tell you to search for your adverbial phrases and replace them with stronger verbs.
I believe that the Microsoft grammar checker can identify adverbs and adjectives.
Is there any way to do what I am suggesting by writing something similar to a VBA script in Excel?