Powerpoint VBA - Passing RGB colors as a variable
问题 I want to allow users to enter in a RGB color via a text box and pass that variable to change the colors of all shapes. I wrote a loop that would look at the last 2 characters of the shape name to determine if it should be changed to the primary or secondary color. This is for powerpoint from the latest office 365. I've tried the following codes. I am getting either an type mismatch or invalid argument error: Dim osld As Slide Dim oshp As Shape Dim strMainColor As String, strSecondColor As