I have an excel file myExcel.xls which consisting of data. I have declared an Excel workbook programatically as follows:
<vb> Code:
[HTML] Dim newFile As Excel.Application newFile = New Excel.Application newFile.Visible = True newFile.Workbooks.Add() newFile.Workbooks(1).Activate() [/HTML]
Can anyone show me how to assign myExcel.xls to newFile? Thanks
