Office中国论坛/Access中国论坛
标题:
动态控件名
[打印本页]
作者:
kevin5433
时间:
2008-10-8 22:51
标题:
动态控件名
dim strLabel as string
strLabel = "Label2"
me." & strLabel & ".BackColor = vbBlue ' 为什么这样不行, 有什么办法吗?
提
作者:
tmtony
时间:
2008-10-9 08:01
用下面这种方式
me.controls(strlabel)
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/)
Powered by Discuz! X3.3