PDA

Click to See Complete Forum and Search --> : Excel to Access


cedx
Aug 5th, 1999, 07:38 AM
Hi,

I am working on a project with VB 5 that has and existing "database" in the form of an Excel spreadsheet. Can anyone tell me how to transfer data stored in an Excel spreadsheet into an Access database?

Thanks in advance.

SmithVoice
Aug 5th, 1999, 08:26 AM
VB5/6 source code showing how to convert Jet to Excel Excel to Jet at:
http://www.smithvoice.com/vbda.htm

No automation of either, it's all SQL. Also see the other demo souce code at that page because converting from Jet to any ISAM or vice versa (or Excel to Lotus to HTML, etc) is all done the same way)

Hope it helps.

-Smith

bashfirst
Aug 5th, 1999, 04:13 PM
If you don't need to do this programmatically, you can simply open the Excel spreadsheet from Access using the Link Tables function and selecting Excel as the file type. You can then treat the spreadsheet exactly like another Access table.

Bash

SmithVoice
Aug 6th, 1999, 04:48 AM
Good point