Mike has a table style that he likes to use to format his tables with a certain color, border, etc. However, he doesn't know of a way to save this table style so that he can use it the next time he creates a new worksheet. Instead, he finds that he has to re-create the table style again each time. Mike wonders if there is a way to save the table style so that he can just use it across many workbooks.
Excel allows you to create your own table styles through the following general steps:
Figure 1. The New Table Style dialog box.
Your new style is defined, and it will be usable for the balance of the current Excel session. (You can see it at the top of the styles, in the Custom section, when you click the Foramt As Table tool on the Home tab of the ribbon.) If you want the style to be accessible in future sessions of Excel, then it is best to save the workbook as a template. You do that by pressing Ctrl+F12 to display the Save As dialog box and using the Save As Type drop-down list to specify you are saving a template.
Once saved as a template, you can later base new workbooks on this template, which means that the custom table style (along with any other customizations) will be available for you to use.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (4868) applies to Microsoft Excel 2007, 2010, 2013, and 2016.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Custom styles can be a great help in formatting a worksheet. You may, at some point, want to get rid of all the custom ...
Discover MoreWhen you create workbooks for others to use, you might want to make sure that they can't change the formatting and paper ...
Discover MoreExcel is continually trying to figure out what type of data is being stored in a cell. If it can interpret a value as a ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2021-07-31 04:13:25
Peter Atheron
To Curtis & Gary
You may be able to do this in Power Query, available in Excel 2016. Look on the data tab for Get and Transform then Google Power Query.
2021-07-30 15:38:48
Curtis Freeman
This doesn't help my situation. (Also, Ctrl-F12 gives me Open, not Save As.)
I'm looking to create settings for my table so I don't have to create them manually every day. I get a 100,000 row spreadsheet every day with new data, 894 columns today, and growing. I set it to have vertical, bold, 11 point headings, and the body to have 9 point Arial Narrow, set View to freeze panes to freeze the first row and first two columns, convert it to a table, the heading has wrap Text, body doesn't, I use the default shading and colors when I convert it to a Table, then set the column width to fit the contents excluding the header row, with a minimum of 4 characters (which I do using a row of "xxlx" in each cell two rows below the table). It can take quite a while, 15 minutes, to get the file opened, Editable, and set as a table that way, before I can start using it. Would love to speed up and simplify that process.
2017-12-04 13:44:12
Gary M. Rose
Is it possible to create a table style or template that includes subtotals of columns at the bottom and/or subtotals of rows at the right? Is it possible for there to be multi-level subtotals? If there are multi-level subtotals, is it possible to have the multi-level subtotal rows to include both key values and descriptive values shown?
For example, I have attached an image of a Regional & Departmental Costs spreadsheet with two levels of subtotals. I have highlighted in yellow the cells that contain subtotals. I needed to manually add the Region Key, Region Description, and Department Descriptions for the Departmental subtotals and I needed to manually add the Region Description for the Regional subtotals.
I have been able to write macros to do this but instead I would like to find if there are any options within Excel that will automatically add these values to the subtotal lines. Perhaps a table style or template could be set up that would use such an option. Thank you for your suggestions.
(see Figure 1 below)
Gary
Figure 1.
2017-12-03 18:30:00
Alex B
If you save it as Book.xltx in your Excel Startup folder, the custom style will be available in the table > design > table styles the next time you need it in a newly created workbook.
The template does not need to contain the actual table.
ie using a current New worksheet (in case you have already saved some settings),
Option1:-
- insert an additional sheet
- create the table with a custom design saving the design
- delete the new sheet
- save the new workbook in your excel startup folder as Book.xltx
Option 2 - it you have already created the custom design in a different workbook
- Go to the sheet in the workbook with the custom table
- Right click on the Tab with you table and copy it to the New workbook
- Delete the sheet from your New workbook
- save the new workbook in your excel startup folder as Book.xltx
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2022 Sharon Parq Associates, Inc.
Comments