今天发现的可以使用参数的方式将表单设计元素名传给方法

dim field as string

dim name as string

field="author"

name=doc.getitemvalue(field).text

msgbox name

由此,将域名传给GETITEMVALUE方法,而取得该域的值。

posted @ 2010-12-08 10:18  hannover  阅读(226)  评论(1编辑  收藏  举报