I have a document containing multiple short paragraphs. The paragraphs are written in groups where the first starts with "Software Specification". There are three more paragraphs immediately following and then a Fifth that starts with "Area Path".
I need a macro that will look through the entire document, adjusted the selected text to be a block of the five paragraphs, put borders around all, then move on to the next block. I know how to do the borders once the block is selected but not how to cycle through the blocks.
Once that's completed, I want to cycle through, paragraph by paragraph, and if it begins with "Software Specification" set the shading. Again, I can do the shading on a selection but don't know how to cycle through each paragraph looking for the correct one.