Fix Excel VBA Buttons Changing Size and Font Unexpectedly
Question details
The user needs to troubleshoot worksheet buttons that are spontaneously changing their size and font size.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Interacting with or viewing a macro-enabled Excel workbook containing command buttons.
- Observed behavior
- ActiveX command buttons unexpectedly resize or change their apparent font size, even though their actual properties remain unaltered.
Before making changes to your workbook's controls, ensure your Microsoft Office installation is fully updated, as rendering bugs are frequently patched in newer versions.
Replace ActiveX Controls with Form Controls
Form Controls are natively more stable in Excel and are not prone to the rendering glitches that affect ActiveX controls.
The unexpected resizing behavior is a known rendering issue specific to ActiveX command buttons in Excel. This often happens when moving between monitors with different display scalings. Using standard Form Controls provides the exact same macro-triggering functionality without the scaling bugs.
Go to the Developer tab, turn on 'Design Mode', select the misbehaving ActiveX buttons on your worksheet, and press the Delete key.
Still on the Developer tab, click 'Insert'. Under the 'Form Controls' section (not ActiveX Controls), select the 'Button' icon.
Click and drag on your worksheet to draw the new button. The 'Assign Macro' dialog box will appear immediately. Select your existing VBA macro from the list and click 'OK'.

Use Shapes as Macro Buttons
If you need customized styling that Form Controls do not offer, using standard Excel shapes is a stable alternative.
Contact Microsoft Support for Persistent ActiveX Issues
If you are strictly required to use ActiveX controls and the problem persists after updates, escalating to Microsoft Support is necessary.
Create Stable Macro Buttons with WPS Office
If you frequently encounter ActiveX rendering bugs in Microsoft Excel, consider using WPS Spreadsheet. It fully supports VBA macros and offers highly stable built-in Form Controls, ensuring your interactive workbooks look perfect on every screen.
- 1. Open your macro workbook in WPS Office: Launch WPS Spreadsheet and open your existing .xlsm file. WPS will safely load your VBA code.
- 2. Access the Developer tools: Navigate to the Developer tab on the top ribbon to access the macro and control insertion features.
- 3. Insert a reliable Form Control: Click 'Insert', select a Button control, draw it on your sheet, and easily map it to your existing VBA macro.

Frequently Asked Questions
Why do ActiveX buttons resize randomly in Excel?
This is a well-known rendering bug associated with ActiveX controls in Microsoft Office. It is frequently triggered by changing screen resolutions, switching between multiple monitors with different DPI scalings, or modifying the worksheet's zoom level.
What is the difference between ActiveX and Form Controls?
Form Controls are native, simpler controls built directly into Excel that offer high stability and ease of use. ActiveX controls are older, more complex components that offer advanced event-handling (like mouse hover events) but are notoriously prone to display and scaling glitches.
Will my VBA code still work if I switch to Form Controls?
Yes. As long as your VBA code relies on a standard click event (e.g., clicking a button to run a subroutine), you can simply assign that same macro to a Form Control button or a standard Shape without rewriting any code.




