Page 1 of 1

Using Office Word version 2016 or later, create a macro which will “swap” two words. After positioning the cursor betwee

Posted: Mon Jul 11, 2022 9:55 am
by answerhappygod
Using Office Word version 2016 or later, create a macro which will“swap” two words.
After positioning the cursor between two words, your macro willinterchange the order of the two words. For example, if thesentence is “will she help?” and the cursor is between the firsttwo words, executing your macro will produce “she will help?”
Ensure your macro works and is commentedwell. Ensure your macro is “stored in” the "currentdocument" (and not "all documents"). Save the document asa .docm file. Upload the document with the macro.
Hint – be sure you can solve this problem manually beforeattempting to create a macro to solve it. You may either use themacro recorder or enter VBA code.
Some general help on macros ishere: https://support.office.com/en-us/articl ... S&fromAR=1