This whole question is probably stupid but:

Can an Excel spreadsheet by accessed by VB6?

I mean without using Shell and Sendkeys. This is stupid but - "SAY" ...... String = (C:\myspreadsheet.xls.Cells(1,1).value)

If true - can 255 access an Excel spreadsheet at once like a data-base (for read only)?

Just curious.... I know nothing about databases and VB6... I'm really only trying to do something that seems simple (my other question in the db forum):

------------------------------------------------------------------------

I've never played with VB6 and database files.... I've been browsing through the tutorials by Karl, but I'm missing specifically what I'm looking for.

Basically, I have an Access97 database at work with 5 tables.

I just need to be able to "read" and search the information. Really, just like you would use an array....

I want to access one table at a time and load all the column 1 cells in to listboxs. Then, if the data in the listbox is selected, I want to search through the table until the "data" is found and then read different cells in that row/record depending on what's going on (completly transparent to the user).

This is for a stand alone VB6 app, but (as an example) if it was for an Excel VB Script I would be doing something like:

VB Code:
  1. Sub_LoadListBox_click()
  2.  
  3. LastCol = Cells.Find(What:="*", _
  4.       SearchDirection:=xlPrevious, _
  5.       SearchOrder:=xlByColumns).Column
  6.  
  7. For X = 2 to LastCol
  8.   MyListbox.additem Cells(X,1).value
  9. Next X
  10.  
  11. End Sub
  12.  
  13. '----------------------------------------
  14.  
  15. Sub Button_click()
  16. For X = 0 To MyListbox.ListCount - 1
  17.     If MyListbox.Selected(X) = True Then TempStr = OfficListBox.List(X)
  18. Next X
  19.  
  20. Worksheets("MyWorksheet").activate
  21.  
  22. LastCol = Cells.Find(What:="*", _
  23.       SearchDirection:=xlPrevious, _
  24.       SearchOrder:=xlByColumns).Column
  25.  
  26. TempNumber = 0
  27. For X = 2 to LastCol
  28.   If Cells(X,1) = TempStr Then
  29.      TempNumber = X
  30.       Exit For
  31.   End If
  32. Next X
  33.  
  34. If TempNumber = 0 Then Exit Sub
  35.  
  36. MyNameStr = Cells(X,1).value
  37. MyNumberStr = Cells(X,2).value
  38. MyAddressStr = Cells(X,3).Value
  39. '(blah blah)
  40. End Sub

Thanks for any help!