How do I stop screen updating in powerpoint using VSTO?

Posted on 2009-02-16
Last Modified: 2013-12-17
I have a piece of VSTO c# code that manipulates a PowerPoint presentation, specifically by building a large table on a slide by copying each row from another document one row at a time.

This causes the screen to flicker, is there are way of stopping the screen updating while the code is running? In excel I would use Application.ScreenUpdating = False, but that does not exist for PPT.
Question by:SimonReid1

    Accepted Solution


    I found this piece of sotware that can replace the Application.ScreenUpdating = False. It is not in C# but I think it can give you some useful suggestion regarding your problem.

    Follow this link:


    Author Comment

    I have tried that code but it does not work..  My code works by copying selected rows from one document and pasting into another, locking doesn't seem to work in this case :-(
    LVL 23

    Expert Comment

    One suggestion would be to keep the Powerpoint and the other application hidden while you are manipulating the presentation (i.e. copying rows from the one application to the Powerpoint presentation) and only make the presentation visible once you are done.
    So if somewhere in your code you are creating application objects (one for the source document you are copying from and one for Powerpoint), set each object's Visible property to True only after all of the data manipulation is done.
    LVL 23

    Expert Comment

    Also, if you don't want to hide the display of the files, you could try adding the following to your PowerPoint VBA code - see code at

    Author Closing Comment

    The solution worked, but as you said it was not in C# so took a fair bit of work to translate it

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Have you ever been sent a PowerPoint presentation file and wondered why it filled your mailbox? Or have you ever sent a PowerPoint presentation by email and received complaints about the size? Or have you ever created a PowerPoint presentation and t…
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    This video teaches viewers how to add simple and professional themes to their slides.
    The viewer will learn how to edit the master slide. They will also learn how to combine multiple themes into one master slide to use them in their presentation.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now