Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-16-2021, 06:00 PM
mbcohn mbcohn is offline delete all word files in a nested directory Windows 10 delete all word files in a nested directory Office 2016
Advanced Beginner
delete all word files in a nested directory
 
Join Date: Jan 2021
Posts: 32
mbcohn is on a distinguished road
Default delete all word files in a nested directory


Hi. All I'm trying to do is this:


a) The user selects the parent directory.
b) The program loops through the parent directory and any subdirectories, deleting all Word files (both .doc and .docx) as it goes.
c) The remaining files live happily ever after.





I googled around a bit, and found some similar situations, but not exactly what I need, and I haven't succeeded in modifying anything I've found. Thanks for your attention.
Reply With Quote
 

Tags
delete document, loop folders



Similar Threads
Thread Thread Starter Forum Replies Last Post
delete all word files in a nested directory Search in Nested Tables to Delete Rows JingleBelle Word VBA 6 11-13-2020 07:36 AM
Recent files not showing up unless they're in the default save directory jderouen Word 0 05-12-2017 06:51 AM
delete all word files in a nested directory How to Loop in directory to work with all files PRA007 Word VBA 2 01-17-2016 09:04 PM
Copy Files to a directory elmnas Word VBA 8 07-11-2014 12:07 AM
Weird problem - word docs are producing temp files that won't self delete David92595 Word 0 07-07-2011 04:07 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft