Feature Summary

The Command Button feature is used to insert button controls into a presentation. Clicking a button can trigger VBA code execution, enabling various interactive operations.

Feature Description

Feature Dimension Description
Membership Restriction No membership restriction
Version Restriction No version restriction

Operation Steps

Inserting a Command Button

Feature Entry
"Tools" tab → "Developer Tools" button → "Developer Tools" tab → "Command Button"

  1. Click the "Tools" tab at the top, locate and click the "Developer Tools" button to bring up the "Developer Tools" tab at the top
  2. Click the top "Developer Tools" tab
  3. Select the "Command Button" control
  4. Drag the mouse on the slide to draw the button

截图
截图

Common Command Button Properties

  1. Select the inserted button
  2. Click the "Control Properties" button
  3. Set the following options in the properties panel
  • "Caption": Set the button display text
  • "Name": Set the button name
  • "Enabled": Set whether the button is available
  • "BackColor": Set the button background color

截图

FAQ

Q1: How to make a button grayed out and unclickable

  • Solution: In the control properties, set the "Enabled" property to "False", and the button will become grayed out and unavailable.

Q2: How to modify the button color

  • Solution: In the control properties, modify the "BackColor" property to set the background color, and the "ForeColor" property to set the text color.