|
-
Mar 14th, 2009, 02:22 PM
#1
Thread Starter
Member
[RESOLVED] Write text to textfield in word
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)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|