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.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
A common use to which teachers put Word is to create tests and answer sheets. By imaginatively applying the features of ...
Discover MoreWhen you open documents that were created a long time ago on a system far, far away (sounds almost epic, doesn't it?), ...
Discover MoreWant a cool shortcut to make your text bold? Here's a method that fits in wonderfully with how things are done in the ...
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