Sign-up....

在文档如何判断是否含有某个标签??

rt

[4 byte] By [msdn] at [2007-8-14 12:03:31]
# 1 Re: 在文档如何判断是否含有某个标签??

心急写错了 是判断某一具体书签

gogogoo at 2005-4-25 10:32:03 >
# 2 Re: 在文档如何判断是否含有某个标签??

看看这一段代码:

On Error GoTo errLine

MsgBox ThisDocument.Bookmarks("A11").Start

Exit Sub

errLine:

if err.number=5941 then

MsgBox "不存在该书签"

else

MsgBox "其他错误"

end if

xinliangyu at 2005-4-25 10:45:55 >

VB

All Classified