Home >Software Tutorial >Office Software >How to add and manage bookmarks in Word
Yes, I have. Remember to give me the best answer
1.Add bookmark
Select the content you want to assign a bookmark to, or click where you want to insert the bookmark.
Click the "Bookmark" command in the "Insert" menu.
Under Bookmark, type or select the bookmark.
Click the "Add" button.
Note: The bookmark name must start with a letter and can contain numbers but no spaces. You can use underscore characters to separate text, for example, "Title_1".
2.Show bookmarks in the document
Click the "Options" command in the "Tools" menu, and then click the "View" tab.
Select the "Bookmark" checkbox.
If a bookmark has been assigned to a piece of content, the bookmark will appear in the form of brackets ([...]) (the brackets are only displayed on the screen and will not be printed). If a bookmark is specified for a location, the bookmark appears as an I-shaped marker.
3. Locate the specified bookmark
Click the "Bookmark" command in the "Insert" menu.
At "Sort by", select the desired bookmark display order.
If you want to show hidden bookmarks, such as cross-references, select the "Hide Bookmarks" checkbox.
Under "Bookmarks", click the bookmark you want to navigate to.
Click the "Locate" button.
3.Delete bookmark
Click the "Bookmark" command in the "Insert" menu.
demonstration
Click the bookmark you want to delete, and then click the "Delete" button.
Bookmark definition method
Bookmarks were originally used as a way to quickly return to the original viewing point when browsing Word documents. This article uses the positioning principle of bookmarks to identify specific areas in the template. The steps to create a template using this method are as follows:
(1) Open the defined template document and select the area where bookmarks need to be defined.
(2) Select Bookmark in the Insert main menu.
(3) Enter the bookmark and select Add.
The picture below is the author’s settings:
Multiple different bookmarks can be defined in one document. After the bookmark definition is completed, it will not be displayed in the document body, but you can use Word's bookmark menu to manually search or use code to search. Examples of the positioning of Word bookmarks and their reading and writing operations are as follows:
tmp1 := wdGoToBookmark;
tmp2 := 'cgmc';
WordApp.Selection.GoTo_(tmp1,EmptyParam,EmptyParam,tmp2); //Bookmark positioning
Memo1.Lines.Add(WordApp.Selection.Text); //Read operation
tmp1 := wdGoToBookmark;
tmp2 := 'cgmc';
WordApp.Selection.GoTo_(tmp1,EmptyParam,EmptyParam,tmp2); //Bookmark positioning
WordApp.Selection.TypeText('bookmark example); //Write operation
The above is the detailed content of How to add and manage bookmarks in Word. For more information, please follow other related articles on the PHP Chinese website!