Kill File

  • Hi All

    Having done some research, I have found out to delete a file in VBA you use the Kill command.

    However when doing this, I get a message File not Found

    my code is:

    When I step through the code, it happily opens the file, and knows the name of MyFile at the point of kill.

    Please can someone advise what step I might be missing?


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!