Most efficient way to loop through a folder and find all the XLS f
I've done this a number of ways, but am wondering what the most efficient way
is to loop through a folder. I've used DIR and File Scripting Objects.
Which is the best way?
Thanks,
Barb Reinhardt
.
Relevant Pages
- Re: Most efficient way to loop through a folder and find all the XLS f
... I like to use Dir for one folder and if I also want to loop through the ... subfolders I use the other one ... Barb Reinhardt ... (microsoft.public.excel.programming) - Re: Checking a folder again after it has been emptied
... that while loop. ... allowing additional files in that folder to be moved and now with your ... #sleep timer and number of files ... closedir PRV_SRC_1; ... (perl.beginners) - Re: Outlook 2003 vba macro
... Don't move or delete items in a For Each loop! ... 'Move the email Item to the backup folder ... Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers ... > Dim objApp As Application ... (microsoft.public.outlook.program_vba) - Re: Help with a long running process?
... Before the loop enters its initial cicle, it will first have to grab ... all the files from all sub folders off the base path you specified. ... String)) or return it as an array. ... consider loading the files folder by folder: ... (microsoft.public.dotnet.languages.vb) - Re: problems deleting email messages in c#
... Deleting items from a collection requires either a count down for loop or another looping construct that tests for the collection being empty. ... Hard-deleting an item (bypassing Deleted Items) is only possible using CDO 1.21 or Extended MAPI or a COM wrapper for MAPI such as Redemption. ... An alternative is to handle ItemAdd on the Items collection of the Deleted Items folder. ... I am putting together a personal project to help me remove spam out of my ... (microsoft.public.office.developer.outlook.vba) |
|