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:
Creating Command Buttons to Run Macros in PowerPoint
How to create a command button to run my macro in slide show in PowerPoint? I have created a macro that displays message dialog box. I want to add a command button my slide. When the button is clicked while in slide show view, I want the message box to be displayed.
✍: FYIcenter.com
You can create an ActiveX control command button to run a macro in 7 steps:
1. Click the Developer tab. You see the Developer tab menu showing up.
2. Select the Command Button icon in the Controls menu group. Then press and drag the mouse on the slide to create a command button.
2. Select the Command Button icon in the Controls menu group. Then press and drag the mouse on the slide to create a command button.
3. Click the right mouse button on the command button and select Properties from the context menu. You see the Properties box showing up.
4. Change the value in the (Name) field to "RunMacro". Then change the value in the Caption field to "RunMacro".
5. Click the right mouse button on the command button and select View Code from the context menu. You see the Visual Basic window showing up.
6. Enter the following code and close Visual Basic window. "HelloMacro" is the name of the macro to be executed.
Private Sub RunMacro_Click() HelloMacro End Sub
7. Click the Slide Show icon and click the command button to test it.
⇒ Questions on Microsoft PowerPoint 2013
⇐ Testing Macros without Slide Show in PowerPoint
2017-01-25, 25040🔥, 1💬
Popular Posts:
Why am I getting the "You now have two copies of a file" error from OneDrive for Windows? You will g...
How to connect FileZilla to an Anonymous FTP Server? If you know the server host name, you can conne...
How to create a new WeChat account without phone number? I want to use WeChat, but I don't have a ce...
How to find and read log file in FileZilla Server? I have logging turned on already. For FileZilla S...
What are URL:sfb and URL:lync15 Protocols? URL:sfb and URL:lync15 protocols are special network prot...