vb.net - how to import data from excel vb using Microsoft.Office.Interop.Excel -
sorry bad english can export data excel file code imports excel = microsoft.office.interop.excel dim xlapp new excel.application dim xlworkbook excel.workbook dim xlworksheet excel.worksheet xlworkbook = xlapp.workbooks.open("my excel path") xlworksheet = xlworkbook.sheets("sheet1") xlworksheet .range("d8").value = "1" .range("d9").value = "2" end xlapp.visible = true i want import data(d8,d9) excel file text box .can u me? thank i not sure want import data, should work , give value. imports excel = microsoft.office.interop.excel dim xlapp new excel.application dim xlworkbook excel.workbook dim xlworksheet excel.worksheet dim strone string dim strtwo string xlworkbook = xlapp.workbooks.open("my excel path") xlworksheet = xlworkbook.sheets("sheet1") xlworksheet strone = .range(...