Changing Ribbon Tool Defaults

by Allen Wyatt
(last updated January 23, 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

Printout Doesn't Match Preview

Print Preview is used to see how a printed document will really look. What if what you see on-screen doesn't match what you ...

Discover More

Error in Linked PivotTable Value

Excel allows you to link to values in other workbooks, even if those values are in PivotTables. However, Excel may display an ...

Discover More

Positioning the Footnote Separator

The Footnote Separator, as its name implies, separates the footnotes on each page from the text on that page. If the ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

SUMIF Doesn't Recalc Automatically

What are you to do if you suspect that some of your worksheet functions aren't recalculating automatically? Here's some ideas ...

Discover More

Changing the Ribbon's Size and Look

The Ribbon, while debatably handy, can be downright difficult to use for those with a sight impairment. Here are some ideas ...

Discover More

Tab Key Jumps a Screen at a Time

Have you ever pressed the Tab key, expecting to move to the next cell in your worksheet, only to have Excel completely change ...

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. 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 7 - 0?

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.