How to Stop Excel from Copying Formatting When Inserting Rows or Columns
Question details
The user wants to insert new rows or columns in Excel without the software automatically applying the formatting, data validation, and input messages from adjacent cells.

- Product
- Excel for Microsoft 365
- Device & OS
- not provided
- Scenario
- Modifying an existing, highly formatted spreadsheet by adding new data rows or columns.
- Observed behavior
- Excel automatically inherits the surrounding row or column's formatting and validation rules when new cells are inserted, and there is no native default setting to disable this behavior.
Inheriting formats is a default Excel behavior by design. If you plan to use a VBA macro workaround to bypass this, ensure your workbook is saved as a Macro-Enabled Workbook (.xlsm).
Use a VBA Macro to Insert Unformatted Rows
Since Excel lacks a built-in toggle for unformatted insertions, utilizing a simple VBA macro is the most efficient workaround to insert a clean row.
A macro can automate the process of inserting a row and immediately wiping all inherited formatting, data validation, and input messages from the new cells.
Press Alt + F11 on your keyboard to open the Microsoft Visual Basic for Applications window.
Click 'Insert' from the top menu, then select 'Module'. Paste a standard VBA script designed to insert a row and clear formats (e.g., Selection.EntireRow.Insert followed by Selection.ClearFormats and Selection.Validation.Delete).
Close the VBA editor, return to Excel, press Alt + F8 to open the Macro dialog, select your new macro, click 'Options', and assign a convenient shortcut key for future use.

Manually Clear Formatting and Validation
If you prefer not to use macros, you can manually strip the inherited formats immediately after inserting the new row or column.
Submit Feedback to Microsoft
Because this behavior is by design, submitting feature requests can help Microsoft prioritize adding a native setting for unformatted insertion in future updates.
Try WPS Office for Seamless Spreadsheet Management
If you are frustrated by rigid default behaviors in Microsoft Excel, consider switching to WPS Office. It offers a lightweight, highly compatible alternative for your spreadsheet needs, providing a familiar interface without the bulk.
- 1. Download WPS Office: Visit the official WPS website to download and install the free suite.
- 2. Open WPS Spreadsheets: Launch the application and select Spreadsheets from the home dashboard.
- 3. Edit Seamlessly: Open your existing Excel files and enjoy a smooth, familiar editing experience.

Frequently Asked Questions
Why does Excel automatically format newly inserted rows?
Excel is designed to anticipate your needs by assuming that new rows inserted into a data set should match the existing visual structure, including cell colors, borders, fonts, and data validation rules.
Does the 'Clear Formats' tool remove Data Validation?
No, the standard 'Clear Formats' option in the Home tab removes visual styling like colors and fonts, but it leaves data validation rules and input messages intact. You must clear validation separately via the Data tab.
Can I permanently disable the 'Insert Options' paintbrush icon?
Yes. If you find the Insert Options button distracting, you can hide it by going to File > Options > Advanced, scrolling down to the 'Cut, copy, and paste' section, and unchecking 'Show Insert Options buttons'.
Will a VBA macro work in Excel online?
No, VBA macros are only supported in the desktop versions of Excel for Windows and Mac. They will not execute in Excel for the Web.




