External file deletion

D

dveer

After I have imported an external Excel file in my Access DB I want to delete
this file to avoid duplicate import.
Can anyone give me a hint how to program this in VB?
 
S

Stuart McCall

dveer said:
After I have imported an external Excel file in my Access DB I want to
delete
this file to avoid duplicate import.
Can anyone give me a hint how to program this in VB?

Kill "PathToExcelFile"

Simple as it gets.
 
D

dveer

Thanks, this works perfect!
And you are right, sometimes a solution is simple ;-)
 
Top