There have been several postings on this forum relating to accessing Excel spreadsheets from within VB. For example, I recently posted the following code which returns an array containg the names of all worksheets in a given workbook.
Private Function GetWorkSheetNames(ByVal ExcelFile As String) As String()
Dim names As String = ""
Dim xls As New Excel.Application
xls.Workbooks.Open(ExcelFile)
For Each sheet As Excel.Worksheet In xls.ActiveWorkbook.Worksheets
names = names & vbCr & sheet.Name
Next
xls.Quit()
Return names.Substring(1).Split(vbCr)
End Function