I have several Excel files and several Word files that I want to delete after data has been extracted and deposited into a master workbook.
For the Excel files, I am using the following (sometimes this works and sometimes it does not):
sWB.Activate 'sWB previously specifed via a 'Set' stmt (path & file name)
ActiveWindow.Close
Kill "MyFile.xls"
For the Word files, I am using the following (this is not working):
WordDoc.Close 'WordDoc previously specified & opened (path & file name)
Kill "MyFile2.rtf"
WordApp.Quit
Please help.
Thanks in Advance,
Chuckles123
Bookmarks