Create a Macro : Macro « Macro ActiveX Add in « Microsoft Office Excel 2007 Tutorial






Click the Office button, and then click Excel Options.
Click the Office button, and then click Excel Options.
In the left pane, click Popular. 
           Select the Show Developer tab in the Ribbon.
In the left pane, click Popular. Select the Show Developer tab in the Ribbon.
Click the Developer tab.  
           Click the Macros button.
Click the Developer tab.  Click the Macros button.
Type a name for the macro.
Type a name for the macro.
Click the Macros in list arrow, and then click All Open Workbooks.
Click the Macros in list arrow, and then click All Open Workbooks.
Click Create.
Click Create.
The Microsoft Visual Basic window opens.
The Microsoft Visual Basic window opens.
Click the Module window, and then type new Visual Basic commands.
Click the Module window, and then type new Visual Basic commands.
To run the macro, press F5.








11.1.Macro
11.1.1.Create a MacroCreate a Macro
11.1.2.Assign a Macro to a ToolbarAssign a Macro to a Toolbar
11.1.3.Run a MacroRun a Macro
11.1.4.Delete a MacroDelete a Macro
11.1.5.Debug a Macro Using Step ModeDebug a Macro Using Step Mode
11.1.6.Edit a MacroEdit a Macro
11.1.7.Record a MacroRecord a Macro
11.1.8.Save a Workbook with MacrosSave a Workbook with Macros
11.1.9.Open a Workbook with MacrosOpen a Workbook with Macros
11.1.10.Sign a Macro ProjectSign a Macro Project
11.1.11.Create a self-signing certificate for a macro projectCreate a self-signing certificate for a macro project
11.1.12.Change Macro Security SettingsChange Macro Security Settings