M
may
How to link to library of types excel.workbooks.
I wrote:
Dim xlApp As Object '
Dim wb As Excel.Workbook
Set xlApp = CreateObject("excel.application")
xlApp.Visible = True
wb = xlApp.Workbooks.Open(rst!WhereBase & "\" & "1.xls"
After running, I receved message:
Error of compiling
Has not wrote type
I wrote:
Dim xlApp As Object '
Dim wb As Excel.Workbook
Set xlApp = CreateObject("excel.application")
xlApp.Visible = True
wb = xlApp.Workbooks.Open(rst!WhereBase & "\" & "1.xls"
After running, I receved message:
Error of compiling
Has not wrote type