How to Create a Macro in Powerpoint Step by Step
A macro is simply a set of instructions written by the user and saved under the macro name. When a macro name is called in a presentation, it automatically executes the set of instructions defined under the macro name. Macros are embedded into PowerPoint presentations when needed. You can use VBA to code macros in PowerPoint. It helps us create our own designs and reuse them. Macros can also be created in other Microsoft Office applications. Let’s see how to create a simple macro in PowerPoint
Steps Involved in Macro Creation
Step 1. Open PowerPoint. Type PowerPoint in the search space in the lower left corner. You can open PowerPoint with just one click.
Step 2. Double-click PowerPoint. After opening click on File
Step 3: Search for Options and click on it
Step 4: Click Customize Ribbon. On the right side of the window, customize the ribbon bar and drag down to select Developer. Press OK to complete the process.
Step 5: Now you can see the Developer tab next to the View tab. Click on the Developer tab and go to Macro Security
settings where you need to enable all macros and check the box for Trust access to the VBA Project Object Model in Developer Macro Settings .
Once all of this is done. Click "OK" to continue with the next process.
macros can be created in the project window by clicking Macro.
Macro Name as needed and click Create. The macro name here is HI in Presentation1.
MsgBox("Good Day!!!"). This means MsgBox is a predefined function which will display what is written inside the brackets. In the previous line, the macro name is HI. So whatever you write in that macro HI, it will be executed sequentially when called.
Step 10: After writing the code in the macro, you should close the window and return to Presentation 1. Go toMacro and click on the name(HI) of the macro and press the Run command which will execute the code.
Filetab and click on the Options
ScanQuick Access Toolbar . When you select Can see the custom Quick Access Toolbar, drag down and select Macros.
Presentation1 HI is selected here because it is the one we created. Click to add. Now the macro HI has been added to the custom Quick Access Toolbar.
Step 14: You can modify the macro with icon and name as shown below.
Step 15: After clicking the Modify button, you can select the icon from the predefined collection and can change the name as shown in the image below.
Step 16: Select the icon and enter the name and click OK. Now you can see the added icon and name in the toolbar
Step 17: Go to the home page and you can see the custom icon on top of the presentation . When you want to call a macro, just click on the icon at the top. The macro will run automatically and display the results.
Macros are especially used in scenarios where repeated command sequences are required. It could be your custom design or using VBA to code a calculation such as addition in a pre-made way.
The above is the detailed content of How to Create a Macro in Powerpoint Step by Step. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



How to Blur Part of an Image in PowerPoint There is no official tool that allows you to blur part of an image in a PowerPoint presentation. Instead, you do this using a combination of shapes and other features. To blur part of an image in PowerPoint: Open your PowerPoint presentation. Press Insert > Shape and choose a suitable shape to cover your image. Draw the image onto the slide and position it over the area of the image you want to blur. If you want to design a custom shape

How to Highlight Text in PowerPoint 2019 or 365 If you are using PowerPoint 2019 or have a Microsoft 365 subscription, highlighting text is quick and easy. There are two main ways to highlight text in PowerPoint. How to Highlight Selected Text in PowerPoint The first way is to select the text you want to highlight before applying the effect. To highlight selected text in PowerPoint: Click and drag the text you want to highlight. In the Home tab, click the down arrow next to the Text Highlight Color tool. Click on the highlight color of your choice

A macro is simply a set of instructions written by the user and saved under the macro name. When a macro name is called in a presentation, it automatically executes the set of instructions defined under the macro name. Macros are embedded into PowerPoint presentations when needed. Macro code can be written in PowerPoint using VBA. It helps us create our own designs and reuse them. Macros can also be created in other Microsoft Office applications. Let’s see how to create a simple macro in PowerPoint. Steps involved in macro creation are Step 1. Open PowerPoint. Type PowerPoint in the search space in the lower left corner. You can open Po with just one click

When giving a presentation using the best PowerPoint app ever, adding images relevant to your presentation makes it easier for your audience to understand the topic and content, not just the text or paragraphs. Sometimes there is something very sensitive in the image that is not considered safe to show to viewers. Therefore, it is standard practice to blur specific parts of an image. However, blurring a part of an image in PowerPoint application is not easily done by any direct method. In this post, we have shown a simple method by which you can blur any specific part of an image in PowerPoint application using a few steps given below. How to blur images in PowerPoint application

The main function of powerpoint is to create presentations; users can also make presentations on a projector or computer, or print out presentations. PPT is suitable for work reports, corporate publicity, product promotions, wedding celebrations, project bidding, management consulting, Education and training and other fields, and has functions such as photo album production, document merging, application masterboard, picture movement, animation control, etc.

How to Insert an Image into a Shape in PowerPoint Inserting an image into a shape is useful for creating visual elements that stand out in your presentation. It could be an arrow, a heart, or a cross, but each of these shapes provides a purpose or emotion that can help your image pack a punch. If you're not sure how to insert an image into a shape in PowerPoint, follow these steps: Open your PowerPoint presentation. Click the Insert tab in the ribbon. Click the shape. Select the desired shape and draw it on the slide. Next, select the shape you drew and select the Format Shape tab on the ribbon bar. Click the shape fill. Fill dropdown menu from shape

The fill effect options for setting the slide background in PowerPoint include gradients, textures, patterns and pictures. The method to set the slide background is to select "Format Background" or click the "Design" tab to set the background.

PowerPoint is a "presentation" software. PowerPoint refers to Microsoft's presentation software. Users can present on a projector or computer, or they can print out the presentation and make it into film for application in a wider range of fields.