Word VBA - Bookmarks Basics

  Рет қаралды 732

PracticalIT

9 ай бұрын

This tutorial will demonstrate on basics of bookmarks.
In Microsoft Word, bookmarks are a way to mark a specific location or text in a document so that you can easily navigate to it later. It's like placing a virtual marker in your document. You can use bookmarks to jump to a particular section, reference information, or create hyperlinks within the document.
To create a bookmark in Word, you can follow these steps:
1. Select the text or location where you want to create the bookmark.
2. Go to the "Insert" tab in the Ribbon.
3. Click on "Bookmark" in the Links group.
4. In the Bookmark dialog box, give your bookmark a name (no spaces allowed).
5. Click "Add" and then "OK" to close the dialog box.
To navigate to a bookmark:
1. Go to the "Insert" tab.
2. Click on "Bookmark."
3. Select the bookmark name from the list.
4. Click "Go To" to navigate to that specific location in the document.
Bookmarks are handy for long documents where you need to reference or link to specific sections.
#practicalIt #practicalIt #Wordvba #learnwordvba #bookmarks #Bookmarks #Bookmarksinvba #Learn Word VBA #BookmarksVBA #bookmarksword #learnvba #learnvba #wordbookmarks #LearnWordVBA #Learnwordvba

Пікірлер: 3
@tapan363
@tapan363 8 ай бұрын
Thank you Sir, please make more videos like this
@practicalit91
@practicalit91 8 ай бұрын
any example
@practicalit91
@practicalit91 9 ай бұрын
'Example 1 Sub Create_Bookmarks_Selection() Dim doc As Document Dim Bk_Name As String Dim Bk_Range As Range Set doc = ActiveDocument Bk_Name = "BK" Set Bk_Range = Selection.Range doc.Bookmarks.Add Bk_Name, Bk_Range End Sub Sub Create_BookmarksatSpeceficLocation() Dim doc As Document Dim BKM_Name As String Dim BKM_Range As Range Set doc = ActiveDocument BKM_Name = "MBM1" 'Debug.Print doc.Range.End If doc.Range.End < 150 Then MsgBox "Sorry! documnet has not enough content to create a bookmark" Exit Sub End If Set BKM_Range = doc.Range(Start:=100, End:=99) doc.Bookmarks.Add BKM_Name, BKM_Range End Sub
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 137 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 20 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 30 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 137 МЛН