WaterSprite
Technical User
ChDir "C:\DEQ"
Kill ("Chem1.xls")
This code works.
ChDir "G:\BackUp"
Kill ("NightlyReport")
This will not work. "G" being a 4mb USB Flash drive.
What am I doing wrong. I know not to try and kill an open workbook. I got around the problem by using Appliction.displayalerts = false, but why can't I kill a workbook from a flash drive.
Kill ("Chem1.xls")
This code works.
ChDir "G:\BackUp"
Kill ("NightlyReport")
This will not work. "G" being a 4mb USB Flash drive.
What am I doing wrong. I know not to try and kill an open workbook. I got around the problem by using Appliction.displayalerts = false, but why can't I kill a workbook from a flash drive.