G
Gerold
Guest
Hi,
I'm importing Excel-files into Access XP with DoCmd.TransferSpreadsheet.
This works fine.
After the import I want to copy the files into a different directory and rename them. When I try to use FileCopy I get an error 70 saying that the file is used by another process.
There is no other program running that could lock this Excel-file. I only can imagine that Access itself during processing of "TransferSpreadsheet" is locking the file. How can I free the file from this process or what else can I do?
thanks for the help in advance
Gerold
I'm importing Excel-files into Access XP with DoCmd.TransferSpreadsheet.
This works fine.
After the import I want to copy the files into a different directory and rename them. When I try to use FileCopy I get an error 70 saying that the file is used by another process.
There is no other program running that could lock this Excel-file. I only can imagine that Access itself during processing of "TransferSpreadsheet" is locking the file. How can I free the file from this process or what else can I do?
thanks for the help in advance
Gerold