Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Colleen Burton   on Mar 03 In MS Office Category.

  
Question Answered By: Jermaine Powell   on Mar 03

Do it manually with the recorder turned on. That will create a macro
for you to use for the next time.

Explore the TransferSpreadsheet feature of Access to help you with your
import. You can call all of it from Access once you have the manual
steps figured out.

'Run the macro in Excel
'You will need the Excel library referenced in Access
Dim xls as Excel.Application
xls.Application.Run("MacroName")

'Import the spreadsheet into the Employee's table
DoCmd.TransferSpreadsheet acImport, 3, _
"Employees","C:\Lotus\Newemps.wk3", True, "A1:G12"

Hopefully, this will get you going.

Share: 

 

This Question has 10 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Question about importing Excel. Or get search suggestion and latest updates.


Tagged: