I have a need to automatically resize all images stored in a specific presentation I have to prepare for my management. As the slides are quite standard, this looks like something I could automate using a Macro. Can you help? I would like to clarify this point, as couple of readers specifically asked for this.
Macros and add-ins do not run when security is set to High in PowerPoint and Word
PowerPoint Macros - Creating a Macro
So far in this series about using VBA to control other Office applications, we have looked at the basics of controlling other office applications and specifically how to create macros to control Word from within Excel. Our approach for creating macros to control Word was using the Macro Recorder. We record very short actions, copy and paste the code into the Excel VBA Editor, then adapt the code to include the references to the Word Application. Slowly, action by action we build up our Macro using recorded code. It would be logical to think we could use the principles we learned for Word and apply them to PowerPoint. If we want to control PowerPoint from within Excel we just need to find a different approach.
Subscribe to RSS
In Microsoft Office Word, when you attempt to run a macro, you receive the following or a similar error message. Microsoft Visual Basic The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros. Then, the macro does not run.
Join Stack Overflow to learn, share knowledge, and build your career. Connect and share knowledge within a single location that is structured and easy to search. I would like to auto run a macro when my PowerPoint file opens.