logo
search
Office Settings & Configuration

How to Fix a Moving Green Border That Will Not Disappear in Excel

WPS Content ManagerWPS Content Manager Oct 10, 2026 869 views

Question details

The user is experiencing a persistent, moving green border around a cell in Excel that does not disappear as expected.

How to Fix a Moving Green Border That Will Not Disappear in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Working on an Excel spreadsheet where the active cell indicator or copy/paste marquee gets stuck.
Observed behavior
A moving green line surrounds a specific cell and remains visible despite attempting to select other cells or perform basic actions.
Before you start

Before troubleshooting, try pressing the 'Esc' key on your keyboard, as this easily clears the moving green border (marching ants) caused by an active Copy or Cut command.

Solution 1Recommended

Clear the Active Selection and Restart Excel

This is the quickest method to reset the active cell indicator and clear stuck user interface elements.

Often, a stuck graphical element is just a temporary glitch. Forcing the active cell to change or restarting the application entirely flushes the temporary memory and restores normal behavior.

1
Select a different cell

Click on any other random cell in your spreadsheet to see if the active cell indicator moves normally.

2
Edit the cell contents

Double-click the affected cell, delete its contents entirely, press Enter, and then retype the data.

3
Restart Microsoft Excel

If the border persists, save your workbook, completely close the Excel application, and reopen the file.

Clear the Active Selection and Restart Excel
Tip: Many users report that performing standard cell edits forces Excel to refresh its display and successfully removes the stuck border.
Free Microsoft Office alternative

Try WPS Office for a Glitch-Free Spreadsheet Experience

If Microsoft Excel continues to experience graphical bugs like a stuck moving green border, consider switching to WPS Office. It provides a lightweight, highly compatible, and completely free alternative with a familiar interface that ensures a seamless migration.

  1. 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen instructions to complete the setup.
  3. 3. Open your spreadsheet: Launch WPS Spreadsheets, navigate to your saved .xlsx file, and continue your work without visual disruptions.
Highly compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight architecture resulting in fewer graphical glitches and faster loading times.Free to use with a familiar user interface, ensuring zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show a moving green dotted line around a cell?

A moving green dotted line (often referred to as 'marching ants') typically indicates that the cell has been copied or cut. You can clear this selection immediately by pressing the 'Esc' key on your keyboard.

Can an outdated version of Excel cause UI glitches like a stuck green border?

Yes, visual glitches and stuck active cell indicators can occasionally occur due to software bugs in older versions of Microsoft Office. Updating your software via File > Account > Update Options usually resolves these graphical issues.

Is there a keyboard shortcut to remove the green border in Excel?

Pressing the 'Esc' key is the fastest keyboard shortcut to remove the moving green copy/paste marquee. If the border is simply the solid green active cell indicator, using your keyboard's arrow keys to navigate to a different cell will move it.