And then, click OK button, and all the specific words have been formatted as bold at once. After inserting the code, and then press F5 key to run it, and a dialog box is popped out to remind you inserting the word that you want to bold, see screenshot:Ĥ. MsgBox "Cann’t be empty!", vbInformation, "KuTools for Word"ģ. XStr = InputBox("Please enter the word that you want to bold:", "KuTools for Word")
VBA code: Bold all instances of the same word Sub BoldAll()
And then, click Insert > Module, copy and paste below code into the opened blank module: Create, edit, collaborate, and share documents using Word for Mac. With Microsoft 365, you get features as soon as they are released ensuring you’re always working with the latest. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. Microsoft 365 includes premium Word, Excel, and PowerPoint apps, 1 TB cloud storage in OneDrive, advanced security, and more, all in one convenient subscription. I only really use it for web browsing and Word and. The following VBA code can help you to bold all instances of a specific word quickly and easily, please do as this:ġ. The battery on my mid 2011 MacBook Air is listed as ‘replace now’ (and has been so for at least several years), I’m wondering if you think it’s worth replacing or should I just get a new cheap non-Apple laptop It works fine but I just have to have it plugged in all the time when using.
How could you bold all instances of the same word in a large Word document as quickly as possible?īold all instances of the same word in a Word document with VBA code If there are multiple “outlook” texts in your Word file, now you need to format all the “outlook” texts as bold. Replacing formatting in Word is one of the trickiest things.
If you save a file in Word 6 format from WPMac, open in it Word for the Mac or some other macOS program, and then save it again in the format of Word 97 or later, so that it can be read on current Windows systems. Using the Find and Replace tool in Microsoft work is easy, when you are just replacing one word with another (post on how to do so here). How to bold all instances of the same word in a Word document? Recent versions of Word for Windows refuse to open such files because their file format is inherently insecure.