如何使mw中的书签能够被vb6访问?
'我正在研究通过 vb6 语言在 .doc 文件中添加一些文本。但我找到的代码显示“
With objWord.Bookmarks
.Item("NAME").Range.Text = txtName
.Item("ADDRESS").Range.Text = txtAddress
.Item("CODE").Range.Text = txtCode
.Item("PHONE").Range.Text = txtPhone
.Item("FAX").Range.Text = txtFax
End With
名称、地址、代码、电话、传真是书签”。
我可以在 msWord 应用程序中添加书签吗?
感谢您的回复
'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 = txtName
.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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Word 的版本可能会有所不同,但在 Word 2003 中,您单击插入|书签,然后在弹出的对话框中为书签命名。不要对此刻薄,但您也可以尝试打开 Word 并按 F1。
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.