title: vb.net microsoft word bookmark
body: <p>Is there any way i can create a bookmark on word document ? </p>
  
  <p>I'm using the <code>Microsoft.Office.Interop.Word.dll</code> I know how to update text on existing bookmark in word document. </p>
  
  <p>I wonder is there any way to create bookmark. It doesnt need ot be placed on document just to see it <a href="https://i.stack.imgur.com/NrLrN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NrLrN.png" alt="enter image description here"></a></p>
  
  <p>On this way i can change the bookmark text</p>
  
  <pre><code>  Private Sub document()
  
          Dim objWdDoc As Object
          Dim objWord As Object
          objWord = CreateObject("Word.Application")
          objWdDoc = CreateObject("Word.Document")
          objWdDoc = objWord.Documents.Add("C:\Users\iml4203\Desktop\_korisno\Zahtjevikupca.docx")
          objWord.Visible = True
  
          With objWdDoc.Bookmarks
              .item("Bookmark1").Range.Text = "Test Bookmark"
              .item("Bookmark2").Range.Text = "Test Bookmark"
              .item("Bookmark2").Range.Text = "Test Bookmark"
          End With
      End Sub
  </code></pre>