This code is straight from Microsoft's pages
With Option Strict On you get "option strict disallows late binding" on the last line.Code:Dim oExcel As Object Dim oBook As Object Dim oSheet As Object 'Start a new workbook in Excel. oExcel = CreateObject("Excel.Application") oBook = oExcel.Workbooks.Add
How do you fix that?


Reply With Quote
