Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Applying Bold Italics.
Written by Allen Wyatt (last updated June 12, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365
As I am formatting documents, there are many times I need a particular word or passage to be formatted in both bold and italics. Word includes tools (on the Home tab of the ribbon) that apply bold and italics, but not bold italics. I got tired of doing two clicks, so I created my own tool to apply both formats at once. The resulting macro can then be assigned to the Quick Access Toolbar.
The simplest way to do this is with a macro:
Sub BoldItalics1() Selection.Font.Bold = True Selection.Font.Italic = True End Sub
This macro turns on the attributes, but it doesn't do any toggling. In other words, you can't turn off bold italics by using the same macro, as you can with the individual Bold and Italics tools. This led to the "next generation" macro, which essentially checks to see the state of the selected text before making any changes:
Sub BoldItalics2() With Selection.Font If .Bold And .Italic Then .Bold = False .Italic = False Else .Bold = True .Italic = True End If End With End Sub
The macro checks to see if the Bold and Italic properties are set for the selection. If so, then it turns off those properties; if not, it sets them to True. The result is that your selection will be set either to "full" bold and italic or those properties will be turned off—you won't end up with the properties mixed.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12122) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Applying Bold Italics.
The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!
Don't like the font that Word uses for a default in your new documents? You can pick a different font, but the way you ...
Discover MoreWant to change the way a strikethrough line appears? It's not as easy as you think, as you find out in this tip.
Discover MoreIf you use text highlighting extensively in your documents, you may want to selectively remove some of the colors. This ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments