VBA & Macro Problems

Fix Excel VBA Command Button Not Working on Second Monitor

Camila MilosovichCamila Milosovich Oct 28, 2026 868 views

Question details

User experiences unresponsive Excel VBA command buttons when dragging the application to a secondary monitor.

How to Fix Excel VBA Command Button Not Working on a Second Monitor
Product
Microsoft Excel
Device & OS
not provided
Scenario
Using Excel with a dual-monitor setup, specifically moving a macro-enabled workbook from the primary laptop display to a second monitor.
Observed behavior
The VBA command button works normally on the primary display but stops responding or becomes unclickable when the workbook is moved to the second monitor.
Before you start

Ensure your external monitor is properly connected and your graphics drivers are up to date before modifying Excel's display settings.

Solution 1Recommended

Optimize Excel Display for Compatibility

Changing the display setting to prioritize compatibility over appearance is the most effective fix for secondary monitor rendering issues.

Microsoft 365 handles multi-monitor scaling differently than older versions. Forcing Excel to optimize for compatibility ensures that UI elements like VBA command buttons render correctly across screens with different resolutions.

1
Locate Display Settings

Look at the lower-right corner of the Excel window status bar for Display Settings, or go to File > Options > General > User Interface options.

2
Change Optimization Setting

Select the option 'Optimize for compatibility' instead of 'Optimize for best appearance'.

3
Restart Excel

Close all Excel windows and restart the application for the display changes to take effect.

Optimize Excel Display for Compatibility
Verified Fix: Many users moving to Microsoft 365 reported this step immediately resolved the unclickable macro button issue.
Free Microsoft Office alternative

Experience Seamless VBA and Macro Performance with WPS Office

If you are constantly battling display bugs and unresponsive macro buttons across multiple monitors in Microsoft Excel, consider switching to WPS Office. It provides a stable, lightweight environment with excellent dual-monitor support and high compatibility with your existing Excel files and macros.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free suite.
  2. 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsm file.
  3. 3. Run Macros Seamlessly: Enable macros and use your command buttons flawlessly across any monitor setup.
Fully compatible with Microsoft Excel file formats (.xlsx, .xlsm, .csv).Robust support for VBA and macros without multi-monitor rendering glitches.Free, lightweight, and fast to launch on any device.Familiar tabbed interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why do Excel VBA buttons freeze only on my second monitor?

This is often caused by how Excel handles different DPI scaling and hardware rendering across multiple displays. When moved to a screen with a different resolution, the UI elements fail to redraw properly, making buttons unclickable.

What if the 'Disable hardware graphics acceleration' option is missing?

In newer versions of Microsoft 365, Microsoft removed this option from the Advanced settings. You should instead use the 'Optimize for compatibility' setting found in the General options or the status bar.

Will changing to 'Optimize for compatibility' affect my workbook's performance?

It may slightly change how fonts and UI elements look, making them appear slightly less crisp on high-resolution screens, but it generally does not impact the calculation speed or data processing performance of your workbook.