Hi there. I've been using the next code to tranfer an excel spreadsheet to Access so I can make relations, etc...
Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "MyTable", "MySheet.xls", True [\code]
But now, I have to make it in VB 6.0, so my utility is a .exe file. I've connected to the .xls file. Now what? How do I open the sheet and get the info to pass it to a recordset? Is there an equivalent of VBA's TransferSpreadsheet in VB?
To boldly code, where no programmer has compiled before!