We can execute a macro in many different ways, in this topic we will learn Running macro in Excel: From Macro Dialog and By assigning a short-cut key to the Macro

Running Macro in Excel: Executing or From Macro Dialog

Follow the below steps to assign a macro to a shortcut key:

Step 1: Go to Developer Tab or View Tab
Step 2: Select Macros from the Developer Tab or View Tab

It will open the Macro Dialog.

Step 3: Select a Macro which you want to execute it
Step 4: Click on Run” button

It will execute the selected macro.

Running Macro in Excel

Running Macro in Excel: Executing By Assigning a Shortcut Key to the Macro

Follow the below steps to assign a shortcut key to the macro:

Step 1: Go to Developer Tab or View Tab
Step 2: Select Macros from the Developer Tab or View Tab

It will open the Macro Dialog.

Step 3: Select a Macro which you want to assign a shortcut key
Step 4: Click on “Options…” button

It will show you Macro Options Dialog.

Step 5:Enter an alphabet in the Shortcut key text box

Example if you enter ‘q’, you have press Ctrl+q to execute your macro

Step 6:Then Press OK and Close the Macro Dialog

You are done! you can execute by pressing shortcut key (in this example it is Ctrl+q)

See the below image to understand the above steps:
macro-assign-shortcut-key

We have many other options to execute a macro, we will see it in the advanced tutorials.

Premium Project Management Templates

120+ Professional Project Management Templates!

A Powerful & Multi-purpose Templates for project management. Now seamlessly manage your projects, tasks, meetings, presentations, teams, customers, stakeholders and time. This page describes all the amazing new features and options that come with our premium templates.

PREMIUM TEMPLATES
LIMITED TIME OFFER
ON SALE80% OFF
BROWSE ALL TEMPLATES

Advanced Project Planning Templates

Excel Templates

VIEW DETAILS

120+ Project Management Templates Pack

Excel | PowerPoint | Word

VIEW DETAILS

ULTIMATE RESOURCE MANAGEMENT TEMPLATE

Excel Template

VIEW DETAILS

50+ Essential Project Management Templates

Excel | PowerPoint | Word

VIEW DETAILS

Project Portfolio Management Templates

Excel | PowerPoint Templates

VIEW DETAILS

50+ Excel Project Management Templates

Excel Templates

VIEW DETAILS

By Published On: March 23rd, 2013Categories: Excel VBATags:

Share This Story, Choose Your Platform!

About the Author: PNRao

PNRao is a passionate business analyst and having close to 10 years of experience in Data Mining, Data Analysis and Application Development. This blog is his passion to learn new skills and share his knowledge to make you expertise in Data Analysis (Excel, VBA, SQL, SAS, Statistical Methods, Market Research Methodologies and Data Analysis Techniques).