+ Reply to Thread
Results 1 to 2 of 2

VBA for file copying

Hybrid View

  1. #1
    Registered User
    Join Date
    03-29-2012
    Location
    UAE
    MS-Off Ver
    Excel 2007
    Posts
    5

    VBA for file copying

    I have a folder which has multiple files and the number of files is not fixed . Also the multiple files are stored in different folders. I need to copy all the files from these multiple folders to a single folder. While the number of files in each folder is not fixed, each folder name is standardised. Example Folder Named A may have 10 files and Folder Named B may have 20. I know that you can use select all and copy but since I have many folders with these multiple files and I need to go to each folder and do select all/copy to the destination folder, this can be very time consuming. Is there a VBA to automate this function?

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

    Re: VBA for file copying

    How can I know the folders names ? are they all subfolders in a determinate folder ?
    If solved remember to mark Thread as solved

+ 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