How to Destroy Word Documents
- 1). Write the code to open the Word document and make whatever changes you need.
- 2). Locate the ending of the code where you close the document.
- 3). Destroy the Word document with the following code:
Set docName = nothing
The docName is the name of the Word document you have been working with.
Source...