Frage

I am attempting to use a VBA UserForm to edit an ActiveX label in a PowerPoint Presentation (which will serve as a textbox). I can't determine how to reference the label, however, and could use some direction. I have tried variations of Presentations("Combined Staff Agenda Template").Slides(0).Shapes("Date_Label").Value = LabelDate, but I still receive an error. The ActiveX label is on the first slide of the "Combined Staff Agenda Template" presentation, and is named "Date_Label".

War es hilfreich?

Lösung

Presentations("Combined Staff Agenda Template").Slides(0) _
                     .Shapes("Date_Label").OLEFormat.Object.Caption = LabelDate
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top