Link to home
Start Free TrialLog in
Avatar of spacetraveller
spacetraveller

asked on

runtime error 3274

Hi

I am trying to use the following to import an excel datasheet into MS access table.

DoCmd.TransferSpreadsheet acImport, 3, _
    "Report", "C:\Rep\Report.xls", True, "A1:L3000"

and I am getting
Runtime error 3274
External table is not in the expected format.

Please help.

Thanks,
st
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spacetraveller
spacetraveller

ASKER


Thanks Pete, that problem is solved. I just left the argument blank. Also the spread sheet I was trying to import was in tab-delimited format. I had to change it into Excel spread sheet format. Do you have any solution for that?

Thanks,
st