Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Lorraine Stephens   on Aug 18 In MS Office Category.

  
Question Answered By: James Williams   on Aug 18

There's also a slightly easier, though older-fashioned way to delete  a file
in VB, which is to just use the KILL command, like



Kill "C:\Documents and Settings\David\My Documents\See Ya!.doc"



But then you need to do an error trap in case the file  doesn't exist, etc.



I prefer use of FileSystemObject.

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Deleteing a file through VBA Or get search suggestion and latest updates.


Tagged: