Reputation: 7
I have an activeX textbox in my PowerPoint presentation. During my presentation, I want to write a letter there. Afterward, I want to press a button which opens a messagebox with the letter from the textbox. Currently, my code is the following, but it doesn't work:
MsgBox ActivePresentation.Slides(SlideIndex).OLEObjects("tb1").Object.Text
Upvotes: 0
Views: 466
Reputation: 8104
Try the following instead...
MsgBox ActivePresentation.Slides(SlideIndex).Shapes("tb1").OLEFormat.Object.Text
Upvotes: 2