Hi guys I have a question here.Couldnt get any advice in another forum so thought of trying my luck here.
If I want to insert text into a bookmark in WORD from VB, what should the following code be replaced with? The following code worked well when the bookmark is anywhere in the template. However, if the bookmark is in the header/footer, it's like you cant access the bookmark in the header.
Code:.Selection.GoTo What:=wdGoToBookmark, Name:="bkmProject" .Selection.TypeText Text:=txtProject.Text




Reply With Quote