ado访问excel过程中的问题。。。。。。。。。
在用VB的ADO的方法访问Excel文件时
Debug.Print adoRecordset.Fields.Item(0).Name
Debug.Print adoRecordset.Fields.Item(0).value 在立即窗口可以显示出内容
但是改成如果我想在form里显示的话,为什么下面的不行?
Print adoRecordset.Fields.Item(0).Name
Print adoRecordset.Fields.Item(0).value
可以用变量赋值的吗???比如说这样,a=Print adoRecordset.Fields.Item(0).Name
???????????????
急啊~~~~~~~~~~~~~~~~~~~~