Use ActiveX Controls on Documents
Just as you can add ActiveX controls to custom dialog boxes, you can add controls directly to a document when you want to provide a sophisticated way for the user to interact directly with your macro without the distraction of dialog boxes. Use the following procedure to add ActiveX controls to your document. For more specific information about using ActiveX controls in PowerPoint, see How to: Use ActiveX Controls on Slides.
Add controls to documents
Display the Control Toolbox, click the control you want to add, and then click the document.
Set control properties
Right-click a control in design mode and click Properties to display the Properties window.
Initialize the control
You can initialize controls in a procedure.
Control and dialog box events
All controls have a predefined set of events. For example, a command button has a Click event that occurs when the user clicks the command button. You can write event procedures that run when the events occur.
Use control values while code is running
Some properties can be set at run time.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for