Word objects are efficiently selected in batches.

  
Many times, we need to batch select certain objects in the Word interface, such as objects with the title of title or title. If you press the Ctrl key to select one by one, it is both cumbersome and easy to miss. In fact, there are many tricks for selecting specific objects in batches. Here is an example of selecting an object in the document whose style is "Title 4". 1. Use the “Select” function to first select any object whose style is “Title 4” by dragging and dropping with the mouse, and switch to the “Start” tab, as shown in Figure 1, in "Edit" The function group selects “ select → select the similar format text & rdquo;, after execution, you can immediately select all the objects in the current document as "title 4", then how to operate, I believe you do not need to introduce more It is. 2. Use the VBA code to press the “Alt+F11” key combination to open the Microsoft Visual Basic for Applications window, select “Insert → Module”, insert a blank module in the right pane, and manually input or paste. The following code (Figure 2), (code file download address: http://pan.baidu.com/s/1o68XbLK) 3. Use “ find & rdquo; function implementation If you think the VBA code is more complex, then you can use &ldquo ;Find & rdquo; function implementation: press “ Ctrl + F & rdquo; key combination, open “ find & replace → find & rdquo; dialog box, click the "more" button to switch to advanced search mode, click the bottom left The "Format" button of the corner, select "Style" in the pop-up menu, the "Find Style" dialog box will pop up, select "> Title 4" in the list, and return to the Find dialog box after confirmation. Click “Read highlights & rdquo; on the right side of the inverted triangle arrow, select “ all highlights & rdquo;, you can quickly put all the styles of the current document as "title 4 & rdqu o; the objects are all highlighted (Figure 3), or you can click “ to find in the next item & rdquo; the inverted triangle arrow on the right select “ current document & rdquo; directly selected. Tip: If you need to modify the format of some specific objects in batches, such as font, color, background color, you can use the "replace" command to achieve, the specific operation is not introduced here. This article comes from [System Home] www.xp85.com
Copyright © Windows knowledge All Rights Reserved