Export a macro into a .bas file. In Word, press Alt+F12 to open its macro editor. In the Promect pane, click once on "Normal". Open menu Files > Import and navigate to the .bas file. Select the .bas file and click on Open. Close the macro editor and open menu View > Macros.