请高手帮看一下
private sub cmd_click()
dim ctl as control
for each ctl in control ''就是这句没有理解,请高手详细告诉我each的使用,谢!
if typeof ctl is textbox then
if ctl.text="" then
msgbox"所有字段不能为空"
exit sub
end if
end if
next ctl
end sub