Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (398)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Adding ActiveX Controls like Command Buttons
How to add ActiveX controls, like text command button, text box, check box, etc., to Presentation slides? I want to make my presentation more interactive to allow viewers to fill in values in text boxes and click command buttons to trigger some actions. Can I add ActiveX controls to achieve this through some programming codes?
✍: FYIcenter.com
Yes, you can easily add some ActiveX controls on your PowerPoint presentation slides to make them interactive. Here is an example of two text boxes and one command button ActiveX controls:
1. Click the Developer tab. You see the Developer tab menu showing up.
2. Select the Text Box icon from the Controls menu group, then press and drag the mouse to create an ActiveX control text box on the slide.
3. Click the right mouse button on the text box and select Properties from the context menu. You see the Properties box showing up.
4. Change the value in the (Name) field to "Temperature". Then change the value in the Value field to "32".
5. Repeat the process to create another text box with name of Result and value of "?".
6. Select the Command Button icon from the Controls menu group, then press and drag the mouse to create an ActiveX control command button on the slide.
7. Change the value in the Caption field to "Convert" on the Properties box of the command button.
8. Click the right mouse button on the command button and select View Code from the context menu. You see the Microsoft Visual Basic window showing up.
9. Enter the following programming code in Visual Basic window and close it:
Private Sub Convert_Click() Result.Value = 5 * (Temperature.Value - 32) / 9 End Sub
10. Click the Slide Show icon to test ActiveX controls. This picture shows one test result:
⇒ Error Message When Saving PowerPoint with Macros
⇐ Adding Developer Tab back in the Menu Ribbon
2016-10-26, 7682🔥, 0💬
Popular Posts:
How to use my iPhone and iPad to set up and manage Chromecast device on my TV? I have a Chromecast d...
Where to find answers to frequently asked questions on Google Chrome? I want to know how to install ...
How to access the help menu items on Mozilla Firefox 50.1? I want to use the "About Firefox" menu it...
How to save a presentation with macros in the PowerPoint Macro-Enabled Presentation (*.pptm) file fo...
Where to find answers to frequently asked questions in general understanding of Microsoft 365? Here ...