Guest_imported
New member
- Jan 1, 1970
- 0
I have very little experience with macros, and I am trying to write a macro that will delete files from a directory when Word is EXITED. I have figured out how to delete the files, and I have figured out how to change the File Exit command in Word so that when File Exit is used to EXIT Word, the designated files are deleted; however, when I EXIT Word using the "x" at the top right or when using <Ctrl+F4>, the designated files are not removed.
Is there a special function (not sure if "function" is the right word??) other than WordBasic.FileExit that will close Word and also run my desired functions within the macro?
Is there a special function (not sure if "function" is the right word??) other than WordBasic.FileExit that will close Word and also run my desired functions within the macro?