| 发表于:2007-12-18 21:37:091楼 得分:0 |
sql = "select 组别 from 组别设置 order by 组别" rsother.close rsother.open sql, cn if rsother.recordcount > 0 then rsother.movefirst do while not rsother.eof oexcel.activesheet.combobox5.additem (trim(rsother("组别"))) rsother.movenext loop end if | | |
|