Complete VBA Code to Hide/Show Picture in PowerPoint 2010 Slideshow RRS feed

  • Question

  • Hello,

    I have a PowerPoint slide with a single picture:


    I have created two action buttons named:



    While running a Slideshow, I would like to change the visibility of the picture based upon the command button I select.

    I'd like assistance with the code (from start to finish) to accomplish this.  I suspect I have not been defining or referring to the objects correctly which is why I can't get this to work.

    Finally I think I will probably need to test to make sure a picture is not already visible before attempting to make it visible, and conversely testing to see if a picture is already hidden before attempting to hide it.

    After pulling my hair out for several days, I've decided I need to ask for help.  I'd appreciates any assistance in figuring this out.

    Thanks, John

    • Edited by VBA novice Monday, September 14, 2015 7:08 PM
    Monday, September 14, 2015 3:37 PM

All replies