Set a Default Column Width for New Excel Worksheets
Question details
Set column width to 24 automatically for new Excel worksheets.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants a consistent column width in newly created workbooks or sheets added to a particular workbook.
- Observed behavior
- Changing column width on an existing worksheet does not automatically change the width of worksheets added later.
Decide whether the width should apply broadly to new Excel workbooks and sheets or only to sheets added to one workbook. For the VBA method, use desktop Excel and check whether your organization allows macros.
Create Excel default templates with column width 24
Use XLSTART templates to set the width for new workbooks and newly inserted worksheets.
Book.xltx controls the default new workbook, while Sheet.xltx controls the default worksheet inserted into a workbook. These templates do not change existing worksheets.
Open a blank workbook in desktop Excel. Click the Select All button at the upper-left corner of the worksheet, then choose Home > Format > Column Width, enter 24, and click OK.
Go to File > Options > Trust Center > Trust Center Settings > Trusted Locations and look for the Excel XLSTART location. The folder path can vary by installation.
Choose File > Save As, select Excel Template (*.xltx), name the file Book.xltx, and save it in XLSTART. Set the width on each sheet you want included in the default workbook before saving.
Create a workbook containing one worksheet with all columns set to width 24. Use File > Save As to save it as an Excel Template named Sheet.xltx in the same XLSTART folder.
Restart Excel, create a new workbook, and add a worksheet using the plus button. Select a column and choose Home > Format > Column Width to check that its width is 24.

Set the width for new sheets in one workbook with VBA
Use a workbook event when the setting should apply only to sheets added to a particular macro-enabled workbook.
Adjust Spreadsheet Column Widths with WPS Office
WPS Office is a free, lightweight, easy-to-use alternative for working with spreadsheets. Its familiar interface and Microsoft Office format compatibility make it easier to move existing files into WPS, though it does not fix Excel's template or VBA settings.

Frequently Asked Questions
Why does a new worksheet still have the standard column width?
Changing an existing sheet does not set the default for future sheets. Save a one-sheet template named Sheet.xltx in Excel's XLSTART folder, or use a Workbook_NewSheet event in the individual workbook.
What is the difference between Book.xltx and Sheet.xltx?
Book.xltx defines the default new workbook, including its sheets and formatting. Sheet.xltx defines the default worksheet added to a workbook.
How do I find Excel's XLSTART folder?
In desktop Excel, open File > Options > Trust Center > Trust Center Settings > Trusted Locations and look for the Excel XLSTART location. Its path depends on the installation.
Will the VBA method change existing worksheets?
No. Workbook_NewSheet runs when a new sheet is added. Existing sheets must be adjusted separately using Home > Format > Column Width.
Why doesn't the workbook event run?
Check that the code is in ThisWorkbook, the file is saved as an .xlsm workbook, and macros are enabled and permitted. The event will not run if macros are blocked.




