Formatting a button in Excel means changing its appearance—size, color, font, border, and effects—so it fits your worksheet's design and stays readable. You can format both Form Controls and ActiveX buttons, though the options differ slightly. Before you start, make sure you have a button already inserted on your sheet (via Developer > Insert) and that the Developer tab is visible. If you don't see it, right-click the ribbon, choose Customize the Ribbon, and check the Developer box.

What You'll Need

  • Excel 2010 or later (steps are similar across versions, but some menu labels vary).
  • A worksheet with a button (Form Control or ActiveX) already placed.
  • The Developer tab visible (if not, enable it as described above).
  • Basic familiarity with right-clicking and using the Format Shape/Format Control panes.

Step-by-Step

  1. Select the button. Click once on the button. For a Form Control button, you'll see sizing handles (small circles) around it. For an ActiveX button, it will be in design mode (the Design Mode button on the Developer tab is highlighted). If you can't select it because it runs a macro, right-click the button and choose "Format Control" (Form Control) or "Properties" (ActiveX).
  2. Open the formatting dialog. Right-click the button and select Format Control (for Form Controls) or Properties (for ActiveX). Alternatively, with the button selected, go to the Ribbon > Shape Format tab (this appears when a button is selected) and use the Shape Styles group. For ActiveX, you can also click Properties on the Developer tab while in design mode.
  3. Adjust size and position. In the Format Control dialog, go to the Size tab. Here you can set exact height and width in inches or centimeters. You can also check "Lock aspect ratio" to keep proportions. For ActiveX, use the Properties pane (Alt+F11 opens the VBA editor, but the Properties pane is visible in design mode) to set Height and Width values.
  4. Change the button's fill color. In the Format Control dialog, go to the Colors and Lines tab (or Fill in newer versions). Choose a color from the palette, or select "Fill Effects" for gradients, textures, or patterns. For ActiveX, select the button, go to the Shape Format tab, and use Shape Fill.
  5. Modify the border. In the same dialog, under Line (or Border), choose a color, weight (thickness), and style (solid, dashed, etc.). For ActiveX, use Shape Outline on the Shape Format tab.
  6. Format the text. For Form Controls, the text is part of the button's caption. Right-click the button, choose Edit Text, then select the text and use the Home tab's font options (size, bold, color). For ActiveX, right-click the button, select Properties, and change the Caption property. To change font, select the button, go to the Shape Format tab, and use the WordArt Styles or Font group (if available).
  7. Add a shadow or 3D effect. For ActiveX buttons, the Shape Format tab offers Shape Effects (shadow, glow, bevel, 3-D rotation). For Form Controls, these effects are not available—you can only simulate with border styles. To add a shadow to a Form Control, you'd need to convert it to an ActiveX button or use a shape with a macro assigned (a shape can be formatted with effects).
  8. Set the button's properties (ActiveX only). In the Properties pane (right-click > Properties), you can set BackColor, ForeColor, Font, BorderStyle, BorderColor, and SpecialEffect (flat, raised, sunken). These give you more control than Form Controls.
  9. Align the button. With the button selected, go to the Shape Format tab and use the Align tools (Align Left, Center, etc.) to align it relative to the sheet or other objects. You can also use the Size group to set precise dimensions.
  10. Lock the button's position. Right-click the button, choose Format Control (or Properties for ActiveX), and go to the Properties tab. Select "Don't move or size with cells" to keep the button fixed when you resize rows/columns. For ActiveX, set Placement to 0 (not move or size with cells) in the Properties pane.
  11. Add a macro (if not already assigned). If your button doesn't have a macro, right-click it and choose Assign Macro. Select an existing macro or record a new one. For ActiveX, double-click the button to open the VBA editor and write a Click event.
  12. Test the button. After formatting, click the button (or exit design mode for ActiveX) to ensure it still runs the assigned macro. If it doesn't, re-assign the macro or check the macro name.

Common Mistakes

  • Forgetting to exit design mode. For ActiveX buttons, if you leave design mode on, the button won't run its macro when clicked. Always click the Design Mode button on the Developer tab to toggle it off after editing.
  • Changing the font but not the caption. For ActiveX, the font property affects the button's text, but if you change the caption text itself, the font may not follow. Set both separately.
  • Using a Form Control when you need ActiveX features. Form Controls don't support shadows, 3D effects, or custom colors beyond basic fills. If you need those, use an ActiveX button.
  • Overlapping buttons. When you resize rows or columns, buttons can move or overlap if not locked. Use the "Don't move or size with cells" option.
  • Not testing after formatting. Formatting can sometimes break the macro reference, especially if you delete and re-add a button. Always test the button after any formatting change.

Tips

  • Use the Shape Format tab for quick styling: it appears when you select a button (ActiveX) or a shape. You can apply preset styles, colors, and effects in one click.
  • To make a button look like a modern UI element, use a subtle gradient fill (e.g., light blue to dark blue) and a thin border. Avoid heavy shadows that can make text hard to read.
  • For a consistent look across multiple buttons, format one button completely, then copy it (Ctrl+C) and paste (Ctrl+V) to create duplicates. Then edit the macro assignment for each.
  • If you want a button with an icon, insert a shape (e.g., a rectangle) and add text or an icon, then assign a macro to the shape. Shapes offer more formatting options than Form Controls.
  • Use the Selection Pane (Home > Find & Select > Selection Pane) to manage multiple buttons—rename them and reorder them for easier editing.
  • Keyboard shortcut: To quickly open Format Control, right-click the button and press F (for Format) or just use the right-click menu.

Troubleshooting

If your button doesn't look right or doesn't work, try these fixes in order:

  1. Button not responding to clicks? For ActiveX, make sure Design Mode is off. For Form Controls, check if the macro is assigned (right-click > Assign Macro). If the macro is missing, re-assign it.
  2. Button moves or resizes when you change the sheet? Right-click the button, go to Format Control > Properties tab, and select "Don't move or size with cells." For ActiveX, set Placement to 0 in the Properties pane.
  3. Text is cut off or too small? Increase the font size via the Home tab (for Form Controls) or the Font property (ActiveX). Also, ensure the button's Height is large enough to accommodate the text.
  4. Can't select the button to edit it? If the button runs a macro on click, right-click it and choose Format Control or Properties. For ActiveX, enable Design Mode from the Developer tab first.
  5. Button looks blurry or pixelated? This can happen if the button is stretched. Right-click and select Format Control > Size, then uncheck "Lock aspect ratio" and set appropriate dimensions. For ActiveX, adjust Height and Width in Properties.
  6. Formatting options are grayed out? Make sure the button is selected (click on it). If it's a Form Control, some effects are not available—consider switching to ActiveX or a shape.
  7. Macro doesn't run after formatting? Right-click the button, choose Assign Macro, and verify the correct macro is selected. If you deleted the macro, re-record it or create a new one.

Frequently Asked Questions

Can I format a button without the Developer tab?

No, you need the Developer tab to insert and edit buttons. You can enable it in Excel Options > Customize Ribbon. Once the button is inserted, you can format its appearance using the Shape Format tab, which appears when you select the button.

What's the difference between a Form Control and an ActiveX button?

Form Controls are simpler and more compatible, but have limited formatting options (no shadows, no custom colors beyond basic fills). ActiveX buttons offer more advanced formatting (gradients, 3D effects, custom fonts) and more properties, but they require VBA and can be less stable in some Excel versions.

How do I change the text on a button?

For Form Controls, right-click the button and choose Edit Text, then type your new text. For ActiveX, right-click and select Properties, then change the Caption property. You can also change the font and color via the Font property.

Can I add a picture or icon to a button?

For ActiveX buttons, you can set the Picture property to an image file. For Form Controls, you cannot add a picture directly; instead, use a shape (like a rectangle) with an image fill and assign a macro to it.

Why does my button run the macro when I try to format it?

This happens because the button is active. To edit it, right-click the button and choose Format Control (or Properties for ActiveX). For ActiveX, you can also enable Design Mode to edit without triggering the macro.

How do I make all my buttons the same size?

Select all buttons (hold Ctrl and click each), then go to the Shape Format tab and use the Size group to set a fixed Height and Width. Alternatively, use the Format Control dialog for each button and enter the same dimensions.