

' Purpose : Displays a dialog box with a Hello World text message. ' "Includes code created by BrightCarbon Ltd. ' This means you must give credit for our original creation in the following form: ' Source code is provided under Creative Commons Attribution License ' PowerPoint VBA Macro to display Hello World message. Here’s a very simple example of some code to display a message dialogue : '. You now have a module ready to paste the VBA code into from one of our blog articles :Ĭopy the VBA code from the required blog article by double-clicking on it and then paste it into the Module1 window above. To add some VBA code, you need a container to put it in so go ahead and click Insert from the menu and then select Module : Now you can click the Visual Basic button within this tab: *If for some reason Alt+F11 isn’t mapped on your keyboard you can right click anywhere on the ribbon, select Customize the Ribbon… and in the window that appears, tick the Developer Tab check box over on the right hand side before clicking OK to close the window. This will open the VBE (Visual Basic Editor): With PowerPoint open and at least one presentation file open, press Alt+F11 * on your keyboard. Getting to meet your VBA friend is very simple. How to open the VBE (Visual Basic Editor)


This article includes PowerPoint VBA code to do just that! As an example, if you end up deleting default layouts from a template, there’s no easy way in PowerPoint to get them back.

We publish free PowerPoint VBA code snippets here in our blog for you to use and also offer a PowerPoint automation service. One of the ways we do this is by using VBA code to automate and extend the functionality of PowerPoint. Here at BrightCarbon we’re always looking for new ways to improve our own PowerPoint productivity and then share that knowledge with the presentation community (that includes you, by the way!).
