Importing from excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi i am working with office 2000 and need to inport data from Excel into
Access 2000 can anyone tell me how to do this
 
File/Get External Data/Import

This will allow you to import data from Excel into an existing or new table
in Access.

You could also link to the Excel file if you need Access to be able to see
updates to the Excel file and use the data real-time.
 
Hi i am working with office 2000 and need to inport data from Excel into
Access 2000 can anyone tell me how to do this
--

Supposing:
- you want to import from Access;
- Excel import file is not password protected.

DoCmd.TranferSpreadsheet acImport, _
SpreadsheetType := acSpreadSheetTypeExcel9, _
TableName := "AccessTableName", _
FileName := "ExcelFileNamePath", _
Range := "Excel Named Workbook's Range", _
HasFieldNames := True

You can define Excel range also with: "Sheet2!C5:D12"

Bruno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top