I would like to export data from textboxes to excel. i've added a reference excel 5.0 to my project and i have the following code.
but i've been recieving this error: Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERN OTFOUND))
any help would be appreciated...t nx tnx..
Code:
Dim excelApp As New Excel._ExcelApplication
Dim excelBook As Excel.Workbook = excelApp.Workbooks.Add(System.Reflection.Missing.Value)
Dim excelWorksheet As Excel.Worksheet = _
CType(excelBook.Worksheets(1), Excel.Worksheet)
excelApp.Visible = True
any help would be appreciated...t nx tnx..
Comment