I have to hit the Esc key to make it go away. Note: In the above code, you can change the red color to your need in this script: = wdColorRed.ģ. This is the box that lets you choose font, paragraph, bullets, numbering, hyperlink, etc. Once you select the text, a pop-up menu will appear above the selected text. You’ll need to select the text by clicking and dragging your cursor over the text. To do so, open a Word document that contains the text you want to highlight. VBA code: Change the color of the comment text in Word: Sub ChangeCommentsColor()įor Each xComm In ActiveDocument.Comments You can easily highlight specific text in Microsoft Word. And then, click Insert > Module, copy and paste below code into the opened blank module: Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. If you need to change the font color of the comment text, the following VBA code can do you a favor.ġ. Then, click OK > OK to exist the dialogs, and now, the color of the comment balloons has been changed to your specified setting, see screenshot: And then, in the Advanced Track Change Options dialog box, choose one color you like from the Comment drop down list, see screenshot:Ĥ. In the Track Change Options dialog box, click Advanced Options button, see screenshot:ģ. ![]() Click Review > Change Tracking Options launcher, see screenshot:Ģ. The Change Tracking Options feature can help you to change the comment balloons color as you need, please do as this:ġ. Have you ever tried to change color of the comment balloons or comment text contents in a Word document? This article, I will talk about some method for dealing with this task in Word file.Ĭhange the color of the comment balloons with Change Tracking Options featureĬhange the color of the comment text contents with VBA code How to change comment color in Word document?
0 Comments
Leave a Reply. |