+ Reply to Thread
Results 1 to 4 of 4

Macro - move files to folder based on list in worksheet

  1. #1
    Forum Contributor
    Join Date
    04-06-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    103

    Macro - move files to folder based on list in worksheet

    Hi

    I have a workbook called CHECK.xls which contains a sheet called Processed.
    The Processed sheet contains a list of files in column C which are present in the folder C:\processed

    Is there a way to move those files from that folder into C:\processed\ready

    But please bear in mind that I don't want ALL files to be moved, only the ones which are listed in column C in my processed workbook.

    Any ideas would be great

    Thanks again

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro - move files to folder based on list in worksheet

    hi, uncleslinky, one of the options (not using wildcats as I have not seen file names list). File names start from C1 and go down without blank cells and there are no duplicates.

    See details for the method used in VB help file: MoveFile Method

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-03-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Macro - move files to folder based on list in worksheet

    Is it possible to run on sub folders eg - C:\processed\1, C:\processed\2, C:\processed\3, etc

  4. #4
    Registered User
    Join Date
    02-03-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Macro - move files to folder based on list in worksheet

    Can someone please please help me

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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