+ Reply to Thread
Results 1 to 2 of 2

Deleting Blank Word File from folder using macro-

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    51

    Deleting Blank Word File from folder using macro-

    Dear Friends,


    I have a query regards to deleting a blank word document in folder and subfolder using macros. Can any one help me in below scenario:

    I have many word files in folder and subfolders, in some files there is a data, but some files are totally blank.
    Now I want to delete all the files in folder and subfolders, its in huge number.


    So can you please help in this case.


    Regards,
    Harindra Devadiga

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Deleting Blank Word File from folder using macro-

    There is no way a macro can differentiate between empty and other Word files without actually opening them to test the contents. If you just want to delete a folder and all its contents, including any subfolders, you'd be better of using Windows Explorer and doing it manually.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ 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. Replies: 0
    Last Post: 11-20-2014, 03:18 AM
  2. Deleting Blank Bullet Fields From Word
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2014, 09:52 AM
  3. Replies: 0
    Last Post: 09-06-2013, 02:16 AM
  4. Macros for saving word file in current folder
    By baluiyer in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-26-2010, 07:54 AM
  5. [SOLVED] macro to move from file to file, folder to folder
    By davegb in forum Excel General
    Replies: 0
    Last Post: 01-21-2005, 04:06 PM

Tags for this Thread

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