transferspreadsheet

  • Thread starter andy_42 via AccessMonster.com
  • Start date
A

andy_42 via AccessMonster.com

I am running a simple transferspreadsheet command for multiple excel files.
Each of the files have a password attached and this command won't allow me to
import them without first opening them with the password. I get an error
"Could not decrypt file". Is there a way to feed the password through
transferspreadsheet or should I be going about this differently?

DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
"Tablename", "filename.xls", True


Thanks!
 

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

Top