VBA
Get & Save Settings to the Registry using PowerPoint VBA
If you are writing your own macros and VBA code in PowerPoint, especially if you are creating a PowerPoint add-in, sometimes you might find useful to get and save your settings globally. In Windows, the Registry is a good place to save this kind of settings. Today we will learn how to use PowerPoint and …
Using VBA to Export PowerPoint Slides to Images
We already have posted about how to use C# to programmatically export your slides to images, but today we’d like to show you an easy way to export your active presentation to images using VBA code. This can be very handly if you want to make a PowerPoint add-in using VBA and Macros and for example …
Record Macro in PowerPoint 2010
Macro recording is a great way to record steps in PowerPoint and other Microsoft Office programs. Unfortunately PowerPoint 2010 has no Macro Recorder (for any reason the team behind PowerPoint decided to remove this feature from PowerPoint 2010 and 2013) and writing VBA code is the only way to create macros. If you have access …
PowerPoint and Visual Basic for Applications
VBA (also known as Visual Basic for Applications) adds a new multi-function feature in PowerPoint. That lets you to extend the applications for the several purposes. So, before we go in deep let’s discuss about the basic terms. What is PowerPoint? PowerPoint is a complete presentation graphics package. It helps you to create a professional-looking …
VBA Macro: Save a PowerPoint Presentation To PDF Programmatically
If you need to save a PowerPoint presentation to PDF format programmatically using VBA code, here is a simple macro to do the job. This macro snippet will make possible to save the active presentation to an output PDF file in the same path where you have the presentation saved.
VBA Macro: How to Run a Custom Code When A Slide Changes during Slideshow in PowerPoint
If you are interested to run a custom code when the slide changes during the slideshow, then here is a VBA script snippet that you can modify to run your own code. Basically what we are going to do is to use the OnSlideShowPageChange() event at the presentation level to detect when the slide is changed …
Running a VBA Macro When a PowerPoint Opens
If you need to start a Macro automatically when a PowerPoint .ppt or .pptx file opens, then here are some tips that can be helpful to accomplish the need. There is a free addin AutoEvents that enables PowerPoint to run macros automatically on certain events. You can download the addin from http://skp.mvps.org/autoevents.htm and it will be helpful …
The Macros in this Project Are Disabled
If you get this alert message in PowerPoint while trying to run a Macro or Macro Enabled Slideshow: “The Macros in this Project Are Disabled” in PowerPoint, then you will need to enter PowerPoint Options and then Trust Center. Here you can disable all macros except digitally signed ones, or enable all macros. Notice that …
Save PowerPoint slides as JPG image using VBA
We already know that it is possible to export your PowerPoint presentations to images (a single slide or every slide in your presentation) using the File -> Save As option. However, if you need to do this programmatically you can use VBA Visual Basic for Applications to achieve this task. This can be helpful for example if …