Changing Ribbon Tool Defaults

Written by Allen Wyatt (last updated August 30, 2021)
This tip applies to Excel 2007, 2010, 2013, and 2016


4

Tom wonders if there is a way to change the automatic format settings on some of the Ribbon tools. For example, the Borders button always defaults to a single underline, but Tom would like it to be bold borders on all four sides. Or, the default colors in the Fill Color and Font Color tools always start at yellow and red, but Tom would like other combinations as his default.

There are no settings in Excel that allow you to permanently change the defaults. Once you use the tool, the option you selected (such as bold borders on all four sides) should remain as the default for the rest of the Excel session, but the next time you start the program the real default settings come back into play. It seems that these default settings are hard-coded into the program.

To get around this type of issue, most people record or create macros that apply the desired formatting. The macros can then be assigned to a button on the Quick Access Toolbar or to a shortcut key. In this way, you could simply apply your preferred formatting with the click of a button (or the typing of a shortcut key), bypassing the built-in Ribbon tools entirely.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13425) applies to Microsoft Excel 2007, 2010, 2013, and 2016.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Formatting Endnote Reference Marks

The reference marks used for endnotes are, by default, formatted "good enough" for most people. If you are one of those ...

Discover More

Improper Index Page Numbers

Adding an index to a document can be a nice finishing touch, particularly if the document is a long one. What happens if ...

Discover More

Formatting Partial Results of a Search

The Find and Replace capabilities of Word are, simply, quite astounding. This is particularly true when using wildcard ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Slash Key No Longer Works as Expected

Press the slash key and Excel may display a series of keyboard commands near the ribbon. If this behavior drives you ...

Discover More

Problem with Missing Context Menu Option

When you right-click a cell, does it seem that the Context menu is missing an item or two? Here's how to get those items ...

Discover More

Disabling Page Layout View

Excel allows you to display your workbooks using a couple of different views. If you want to disable one of the views, it ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 7?

2016-07-13 11:23:04

Willy Vanhaelen

@No Etymology

You will find the answer to your problem in the following tip on this site:
http://excelribbon.tips.net/T003331_Relative_References_when_Recording_Macros.html


2016-07-13 03:43:06

No Etymology

Thanks for your response to my question but it didn't help me. As per your guidelines, I tried this two times.
1. I recorded a macro. My selection/cursur was in a single cell, F3. I gave All Borders. Stopped Recording the Macro. Created a new button in the quick access toolbar to run this macro. Now in the same or new sheet, no matter where my selection/cursur is, whenever i click that button or use the shortcut key that I had assigned, the macro sets an all border to F3 cell only. I want it to select whichever cell or cells I have selected anywhere in the entire sheet, be it A1 to B15 for example.
2. 1. I recorded a macro. I selected range A1 to B5. I gave All Borders. Stopped Recording the Macro. Created a new button in the quick access toolbar to run this macro. Now in the same or new sheet, no matter where my selection/cursur is, whenever i click that button or use the shortcut key that I had assigned, the macro sets an all border to cells from A1 to B5 only. I want it to select whichever cell or cells I have selected anywhere on the entire sheet.
I appreciate your inputs. Thanks


2016-01-24 15:54:39

Alec Whatmough

You can also right-click the ribbon, select Customise the Ribbon, then add a new tab. Add the commands you want into this tab. Great if you find the QAT getting a bit full..


2016-01-23 05:55:56

Petros

Any tool can be added to QAT without recording a macro. For example, right-click 'borders on all four sides' & select 'Add to QAT'. The QAT can be shown below the ribbon, if desired.

For advanced ribbon programming please visit:

http://www.spreadsheet1.com/ribbon-commander.html


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.