- On the Tools menu in Microsoft Excel, point to Macro, and then click Visual Basic Editor.
- On the Insert menu, click Module.
- Type or copy your code into the code window of the module.
- If you want to run the macro from the module window, press F5.
- When you're finished writing your macro, click Close and Return to Microsoft Excel on the File menu.
No comments:
Post a Comment