PowerPoint VBA - Copy shape to a slide
问题 I have developed a Powerpoint VBA function to which I pass a Shape and Slide object. The function finds for a shape with text LOGO inside it, if it finds, it replaces that shape with the shape I passed to the function. Function works perfectly on office 2013 but not on Office 2016. Can anybody please suggest a work around for this? Public Sub AddLogo_ONE(shLogo As Shape, oSlide As PowerPoint.Slide) Dim sh As Shape For Each sh In oSlide.Shapes If sh.HasTextFrame Then If UCase(sh.TextFrame2