I have a .dot file with a textfield (not a part of a form) in the pageheader. I can select the pageheader but don't know how to select the textfiels.
Also when i have a bookmark in this textfield, i can't use this from te main document.

Can someone help me with this?


Dim oWord = New Word.Application
oWord.Visible = True
Dim oDoc As New Word.Document
oDoc = oWord.Documents.Add("C:\Documents and Settings\Andy\Bureaublad\Brief.dot")

'first lets get to the header of the document
oDoc.Content.Application.ActiveWindow.ActivePane.View.SeekView = CInt(Word.WdSeekView.wdSeekCurrentPageHeader)