raymond3090
Registered User.
- Local time
- Today, 16:32
- Joined
- Sep 5, 2002
- Messages
- 43
HI, I hope somebody can help with this, I'm stumped!
I'm importing a bunch of data from an Excel spreadsheet. Right after I do this I need to delete that spreadsheet. I have the following code:
DoCmd.TransferSpreadsheet acImport, 8, "tblFieldData", "H:\temp", True, "Field"
...a few more imports like this take place (the data gets imported as intended)...
then...
Kill "H:\temp.xls"
This is where I get a path/file access error. Any suggestions?
regards,
-ray.
I'm importing a bunch of data from an Excel spreadsheet. Right after I do this I need to delete that spreadsheet. I have the following code:
DoCmd.TransferSpreadsheet acImport, 8, "tblFieldData", "H:\temp", True, "Field"
...a few more imports like this take place (the data gets imported as intended)...
then...
Kill "H:\temp.xls"
This is where I get a path/file access error. Any suggestions?
regards,
-ray.