We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


How do I stop screen updating in powerpoint using VSTO?

Medium Priority
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.
Watch Question


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: http://skp.mvps.org/ppt00033.htm


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


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 :-(
Top Expert 2008

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.
Top Expert 2008

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 http://skp.mvps.org/ppt00033.htm


The solution worked, but as you said it was not in C# so took a fair bit of work to translate it
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.