开发者

how to make bookmarks in mw work to be acces by vb6?

'Im doing some research on adding some text in a .doc file via vb6 language. But the code I found says'

With objWord.Bookmarks
  .Item("NAME").Range.Text = tx开发者_如何学GotName
  .Item("ADDRESS").Range.Text = txtAddress
  .Item("CODE").Range.Text = txtCode
  .Item("PHONE").Range.Text = txtPhone
  .Item("FAX").Range.Text = txtFax
End With

the NAME,ADDRESS,CODE,PHONE,FAX are the bookmarks.

hos could i add bookmarks in msWord application?

thanks for the replies


The version of Word may make a difference, but in Word 2003 you click Insert|Bookmark and in the dialog window that pops up you name your bookmark. Not to be snarky about it, but you could also try opening Word and pressing F1.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜