delete excel file from nexwork using MS Acess module

  • Thread starter Thread starter jmcmaster
  • Start date Start date
J

jmcmaster

Hi All,
Can anyone give me a piece of code which will allow me to
delete an excel file off of a designated file server using
a MS Access module

Thanks

Jason
 
The ever-popular "kill" statement should work for you:

Kill "\\MyServer\MyFolder_1|MyFolder_2\MySheet.xls"

or

Kill "J:\MySheet.xls"

hth,
 
Jason,

You just need to get really mad at it...

Kill "\\ServerName\FolderName(s)\YourFile.xls"

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 
Back
Top