How to Use Macros in Excel
Verify that your Excel preferences allow you to run macros., Open the workbook that contains or will contain the macro. , Verify that macros are enabled in the specific workbook, which will let the macro be run. , Consider how you want to use the...
Step-by-Step Guide
-
Step 1: Verify that your Excel preferences allow you to run macros.
This setting is in the "Security" section, in most versions of Excel. -
Step 2: Open the workbook that contains or will contain the macro.
,, Macros can be run from a menu, connected to a button in the workbook, set to run automatically upon opening a worksheet, or tied to a keyboard command. , To record the macro, find the "Record New Macro�" command.
This can be in the "Macros" section of your "Tools" drop-down menu or ribbon, inside the macro window (again, usually found in "Tools"), or on a toolbar, depending on your version of Excel, your computer system, and your specific Excel setup. ,,,, -
Step 3: Verify that macros are enabled in the specific workbook
-
Step 4: which will let the macro be run.
-
Step 5: Consider how you want to use the macro.
-
Step 6: Record or write the macro at this time
-
Step 7: to repeat the particular process that you want automated
-
Step 8: if your workbook doesn't already have a macro installed that you want to use.
-
Step 9: Open the macro menu
-
Step 10: usually in the "Tools" section of Excel.
-
Step 11: Test-run the macro you want to use
-
Step 12: making sure it works properly.
-
Step 13: Assign the macro to whatever button
-
Step 14: key command
-
Step 15: or worksheet auto-run you want to use with it.
-
Step 16: Run the macro as needed.
Detailed Guide
This setting is in the "Security" section, in most versions of Excel.
,, Macros can be run from a menu, connected to a button in the workbook, set to run automatically upon opening a worksheet, or tied to a keyboard command. , To record the macro, find the "Record New Macro�" command.
This can be in the "Macros" section of your "Tools" drop-down menu or ribbon, inside the macro window (again, usually found in "Tools"), or on a toolbar, depending on your version of Excel, your computer system, and your specific Excel setup. ,,,,
About the Author
Sharon Carter
Brings years of experience writing about home improvement and related subjects.
Rate This Guide
How helpful was this guide? Click to rate: