如何让导入的execl文件显示在窗体里?
如何让导入的execl文件显示在窗体里?选用ole控件,可运行起来却是跳出窗体来运行,不知为何?Private Sub Command1_Click()
Dim OLE1 As Object
Set OLE1 = CreateObject("Excel.Application")
OLE1.Visible = True
OLE1.Workbooks.Open FileName:="e:\test.xls"
End Sub
Form1.rar
(5.4 KB)