I’m working on a large document and would like to be able to select several different sections of text, press a button or two, and have strings of text appear both before and after the selected text. As an example of what I’m after:
Step 1.
In this sentence, I select this bit of text and then use ctrl to also select this second bit of text and this third bit of text.
Step 2.
I enter a command that executes a macro.
Result:
In this sentence, I select < desired string of before text > this bit of text < desired string of after text > and then use ctrl to also select < desired string of before text > this second bit of text < desired string of after text > and < desired string of before text > this third bit of text < desired string of after text >.
I should note that I have AutoText commands set up that can be used to generate the desired text strings, but relying solely on those will take days of tedious repetition to get the desired results. I’m hoping a macro can drastically reduce the time needed to accomplish this, but I do not possess the knowledge or understanding necessary to create such a macro. Is it possible to write a macro that can do this? If so, what would that macro look like?