+ Reply to Thread
Results 1 to 6 of 6

Copying files based on filename

  1. #1
    Registered User
    Join Date
    07-06-2012
    Location
    nh
    MS-Off Ver
    Excel 2003
    Posts
    36

    Copying files based on filename

    I am trying to figure out how to copy excel files were the file name contains certain text. I have the code below that will copy files of a particular extention but not the file name itself. Does anyone know how to modify this code or a different way altogether? Thanks.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copying files based on filename

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    07-06-2012
    Location
    nh
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: Copying files based on filename

    You are a genius it worked, thank you! One last thing, I would like to have mutiple strings is this easy to add? should I just do this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks again

  4. #4
    Registered User
    Join Date
    07-06-2012
    Location
    nh
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: Copying files based on filename

    That didn't work, I've tried a few other things and that didn't work either. Hopefully someone can help me out.

    Thanks.

  5. #5
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copying files based on filename

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-06-2012
    Location
    nh
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: Copying files based on filename

    Thanks Patel. Works perfect.

+ 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