Word Macros

  • Start creating a new word document and go to View -> Macros.

  • Create a new macro "AutoRun" and click run.

  • In the following image we can see that we can code our macro so, just copy the script below and paste it.

  • Later that, save it, and run it enabling macros.

Macro Script

PD: It gets detected very easy, and you might need to play around with the code.

Last updated