Hello moraalg,
This code needs to be a VBA Module.
- Copy the macro with Ctrl+C.
- Open the workbook and use Alt+F11 to open the VB Editor.
- Use ALT+I to display the Insert Menu.
- Press the M key to add a new Module.
- Paste the macro into the Module with Ctrl+V.
- Save the macro using Ctrl+S
Bookmarks