Finally! The new macro is working as intended. Now, you want to email the macro to someone you know. However, the macro is embedded in the document, which you do not wish to send. Macros can be exported and imported independent of the document.
- For that, start the command ‘Tools | Macro | Macros’.
- Select the desired macro in the list and then click on ‘Create’.
- In the Visual Basic-Editor, now open ‘File | Export file’ in the menu.
- For sending through email, it is practical, to change the ‘File type’ to ‘All Files’ first and then entering a name in the field ‘File name’ such as ‘My-Macro.txt’.
- If required, change the destination folder and then click on ‘Save’.
