题目要求是在textbox里输入指定路径和文件名后再按一下CommandButton就可以读取文件里的数据。如何用代码实现呢。
第1个回答 2015-04-09
Private Sub CommandButton1_Click()
Dim strSite$
strSite = TextBox.Value
Shell "excel.exe strsite"
End Sub本回答被网友采纳
Dim strSite$
strSite = TextBox.Value
Shell "excel.exe strsite"
End Sub本回答被网友采纳
第2个回答 2015-04-03
读取?是要打开么?