- 1). Open the PowerPoint application. Right-mouse click on the slide. Select the "Layout" option and choose the "Blank" option. From the Design menu, select the "Shapes" option and choose one of the rectangles to add to your slide. Use your mouse to draw a rectangle on your slide.
- 2). Click on the rectangle. Enter text, such as "Get started with the presentation." Select the rectangle shape.
- 3). Click the "Microsoft Office" button. Click the "PowerPoint Options" button to enable the "Developer" tab. Click the "Popular" option. Click the "Show Developer tab in the Ribbon" check box.
- 4). Click "Macros" on the Developer tab and enter the name "GetName." Click the "Create" button. This allows you to add programming code that generates a dialog box for the shape containing your instructional text. This input box allows the user to enter his name. By assigning this input to a programming variable name, you can then use this input in the rest of your presentation, such as a welcome message. For example, add this code to get input and then use the input to address the user:
userName = InputBox (Prompt:="Enter the name you want to be addressed by:")
MsgBox ("Welcome to the presentation, " & userName) - 5). Click the rectangle shape you created in the second step. From the Insert tab, click the "Action" button. Click the "Run Macro" toggle button to run the "GetName" macro.
- 6). Click the "Slide Show" tab to test how your user input works. Click the "From the Beginning Option." Click on the rectangle shape to test the outcome. The dialog box should display and then the message box should display.
- 7). Click the "Save" button to save your presentation so you can share it with others. In the "Save as Type" menu, select the "PowerPoint Macro-Enabled Presentation" option. Click the "Save" button and when users open the presentation, they need to click the "Slide Show" button. When they click the "Enable this content" toggle button and click the "OK" button, the opportunity to click the text box and enter their name will function properly.
previous post