I am trying to import data from Excel to textbox.
I want import data from Excel saved on my C: disk and i get error with System.NotImplementedException I use library for Excel and Office.
Dim ExcelApp As New Excel.Application
Dim ReteilerWorkbook As New WindowsApp1.ExcelApp.Workbooks.Open("C:\Users\TR\1.xlsx")
Dim retailerWorksheet As New RetailerWorkbook.Sheets(1)
Private Sub ZPlikuToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ZPlikuToolStripMenuItem.Click
Me.TextBox1.Text = ""
TextBox1.Text = retailerWorksheet.cells(1, 1).text
End Sub
I want fill textbox1 with data from cell A1