+ Reply to Thread
Results 1 to 2 of 2

delete all text files from directory

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2016
    Posts
    542

    delete all text files from directory

    I have a multi-step VBA that I am almost done with and would like to make sure the section in bold (delete text files) will delete all text files from that directory. Since this is permanent I wanted to check beforehand. Thank you .

    VBA
    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    11-26-2012
    Location
    Sydney
    MS-Off Ver
    2010
    Posts
    393

    Re: delete all text files from directory

    Worked for me (without unpleasant side effects)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Removing blank / empty lines from all text files in a directory
    By jannerman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2015, 06:34 AM
  2. reformat directory of text files and save as excel simultaneously
    By audio_research in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2014, 11:33 AM
  3. Replies: 5
    Last Post: 11-19-2013, 04:11 PM
  4. Macro to delete Highlighting in directory of excel files
    By tdm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2012, 02:47 AM
  5. import text files multiple from parent directory
    By Craig.Selby in forum Excel General
    Replies: 2
    Last Post: 07-11-2012, 11:41 PM
  6. Delete all files in directory, msgbox list files before delete.
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2010, 09:28 PM
  7. What Are And Can I Delete .EMF Files in WINNT/Temp Directory ?
    By Donna in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-15-2005, 09:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1