WD2000: Macro to Remove a Folder or Directory in Word for Windows (201963)
The information in this article applies to:
This article was previously published under Q201963 SUMMARY
The RmDir command can be used to remove a specified folder, subfolder,
directory, or subdirectory. Before the directory can be deleted, all the
files in the directory must be removed. The Kill statement can be used to
delete files from a directory.
REFERENCES
For additional information about getting help with Visual Basic for Applications, please see the following article in the
Microsoft Knowledge Base:
ARTICLE-ID: 163435
TITLE : VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbmacroexample kbProgramming KB201963 |
---|
|