Course summary: Work with macros
Macros aren’t available in Office on a Windows RT PC
To see what version of Office 2013 you’re running, click File >Account. Look for Microsoft Office 2013 RT under Product Information.
First, show the Developer tab
The Developer tab, on the ribbon, is where all of the macro commands are. To have it appear on the ribbon, click File > Options > Customize Ribbon, check Developer, and click OK. On the Developertab, in the Codegroup, are the Record Macrobutton and some other buttons that will come in handy.
Create a macro using Visual Basic
Click Developer > Visual Basic.
If needed, in the Visual Basic Editor, on the Insertmenu, click Module.
Note Modules are automatically created for all sheets in the workbook.
In the code window of the module, type or copy the macro code that you want to use.
To run the macro from the module window, press F5.
In the Visual Basic Editor, on the Filemenu, click Close and Return to Microsoft Excelwhen you finish writing the macro.
Edit the macro
On the Developertab, in the Codegroup, click Macros.
In the Macro namebox, click the macro that you want to edit.
Click Edit. The Visual Basic Editor appears.