문제

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".

도움이 되었습니까?

해결책

Presentations("Combined Staff Agenda Template").Slides(0) _
                     .Shapes("Date_Label").OLEFormat.Object.Caption = LabelDate
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top