Not in Word Online. To make quick work of tasks that you do often, in the desktop version of Word you can bundle the steps into macros that run with a single click. In Word Online, you have to step through such tasks manually.
If you have Word, first click Open in Word to open your document in Word.
Then follow the instructions in Create or run a macro.
When you run the macro in Word and save the document, you’ll see the results of the macro when you reopen your doc in Word Online.
Tip: Word Online works seamlessly with Word and other Office desktop programs, and we update it based on input like yours. For the latest feature announcements, visit the Office Online blog.