How to Stop the Green Moving Border Around an Excel Cell
Question details
The user wants to know how to remove the animated green border, often referred to as marching ants, that appears around a cell or range in Excel.
- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- The user has copied or cut a cell, which activated the green moving border, and needs to clear this state so they can continue working or save the file.
- Observed behavior
- A green moving border surrounds the selected cell continuously. While this border is active, other actions like the Save button may become temporarily disabled.
Before proceeding, make sure you have finished pasting your copied or cut data, as removing this border will clear your current clipboard selection.
Use the Escape (Esc) Key
The fastest and most standard way to cancel the copy/cut mode and remove the marching ants border.
The green moving border simply means the software is holding your copied data in the clipboard and waiting for you to paste it. To tell the software you are done with the action, you just need to cancel the selection.
Find the 'Esc' key, which is typically located on the top-left corner of your computer keyboard.
Press the 'Esc' key once. The green moving border around the Excel cell will immediately disappear, and the clipboard selection will be cleared.
Double-Click Another Cell
An alternative method if you prefer using the mouse to exit the active copy or cut mode.
Effortlessly Manage Spreadsheets with WPS Office
WPS Spreadsheet offers a smooth, user-friendly experience that operates with the exact same familiar logic as Microsoft Excel. You can seamlessly manage copy and paste actions, and use standard shortcuts like the Esc key to control your cell selections.
- 1. Download and Install: Download WPS Office for free and open your spreadsheet document.
- 2. Copy or Cut Cells: Select the cells you need, right-click, and choose Copy or Cut. A standard selection border will appear to indicate the active state.
- 3. Cancel Selection: Simply press the 'Esc' key on your keyboard to instantly remove the selection border without losing any unsaved work.

Frequently Asked Questions
Why does the green moving border appear in the first place?
The moving border, often called 'marching ants', is a visual indicator that a specific cell or range is currently in copy or cut mode. It means the data is temporarily stored in the clipboard and is ready to be pasted elsewhere.
Will I lose my copied data if I remove the border?
Yes, pressing Esc or canceling the mode clears the active clipboard selection for that application. If you need to paste the data again, you will have to reselect the cells and copy them once more.
Why is my Save button disabled when the green border is active?
In some versions of spreadsheet software, having an active cut or copy selection (or being in the middle of editing a cell) temporarily restricts certain ribbon commands, including Save, to prevent conflicts. Pressing Esc cancels the action and restores full functionality.




