title: vba Excel/Word cant jump to bookmark
body: <pre><code>Dim AppWD As Object
  Dim objDoc As Object
  Dim objDocProdTP As Object
  ...
  Set AppWD = CreateObject("Word.Application") 'Word als Object starten
  AppWD.Visible = True
  Set objDocProdTP = AppWD.documents.Open(workPath &amp; "\vorlagen\LFPostTemplate.docx")
  Set objDoc = AppWD.documents.Open(workPath &amp; "\vorlagen\LFTemplate2.docx")
  ...
  MsgBox (objDoc.Bookmarks.Count)
  objDoc.Goto what:=wdGoToBookmark, Name:="lblSFirma"
  </code></pre>
  
  <p>The MSGBox returns 11 Bookmarks (with matches with the total number of Bookmarks in LFPostTemplate.docx )</p>
  
  <p>But every Bookmarkname i try returns "This bookmark does not exist"</p>
  
  <p>I quess the problem is quite simple... But google dont seem to have any solution for me</p>