none
How to run the garyscale in powerpoint on button click RRS feed

  • Question

  • Hi,

    I want to run the Grayscale on button click and change the font color to white in a single go.

    Regards,

    Lateef Sofi


    Lateef Sofi

    Thursday, October 29, 2015 5:21 AM

Answers

  • >>>I want to run the Grayscale on button click and change the font color to white in a single go.

    According to your description, Do you want to do like below ?

    If you want to do it in Vsto add-ins,  you could refer to below code:

    Set myDocument = ActivePresentation.Slides(1)
    
    For Each shp In myDocument.Shapes
    
          shp.BlackWhiteMode = msoBlackWhiteBlack
    
    Next
    

    In the meanwhile if you want do in Office add-ins, I think you couldn't do it.

    For more information, click here to refer about Shape.BlackWhiteMode Property (PowerPoint)


    Monday, November 2, 2015 9:14 AM