Ниже код может быть полезным для вас.здесь fname называется расположением файла Excel.
Try
Dim StrConn As [String] = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & fname & ";Extended Properties=""Excel 12.0 Xml;HDR=YES"";"
Dim Conn As New OleDbConnection(StrConn)
Conn.Open()
'Dim dtSheets As DataTable =
' Conn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, New Object() {Nothing, Nothing, Nothing, "Table"})
'Dim listSheet As New List(Of String)
Location.Text = fname 'Label Control
SheetName.Items.Clear() ' Combobox clear
SheetName.Items.AddRange(Conn.GetSchema("Tables", New String() {Nothing, Nothing, Nothing, "TABLE"}
).AsEnumerable().Select(Function(d) d("TABLE_NAME").ToString.Replace("$", "")).Distinct().ToArray) 'Binding All sheetname to combobox
Catch ex As Exception
Log.ErrorMessage(ex.Message, Me.Name) 'local log creation manual code
End Try