hello!
i wrote the following lines to put the value of a bookmark in the footer of
the document.
Sub voettekst()
Dim vttkst As Range
Set vttkst = Bookmarks("actie1").Range
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text = vttkst
End Sub
But the output of this is: FORMTEXT IN02021 (where is IN02021 the value of
the bookmark). I don't want to see 'FORMTEXT'.
Does anybody know how to use this program without getting FORMTEXT in the
output?
thnx!
erik
Jezebel - 23 Feb 2005 19:42 GMT
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text =
mid$(vttkst,10)
> hello!
>
[quoted text clipped - 20 lines]
> thnx!
> erik