+ Reply to Thread
Results 1 to 4 of 4

Needs macro to copy excel files from folders, subfolders to new folder

  1. #1
    Forum Contributor
    Join Date
    04-09-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    176

    Needs macro to copy excel files from folders, subfolders to new folder

    Hi to all,
    I want to copy all the files from folders and subfolders to new folder and i am trying this with this macro code

    Please Login or Register  to view this content.
    i am getting error with this code. can any help me to solve this problem and your help will be highly aprreciated.
    Thanking you
    Regards,
    Genetist

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,173

    Re: Needs macro to copy excel files from folders, subfolders to new folder

    You didnt tell us the error, NOR where the error occured.

    (usu a yellow bar will hilite the line)

  3. #3
    Forum Contributor
    Join Date
    04-09-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    176

    Re: Needs macro to copy excel files from folders, subfolders to new folder

    Hi Ranman,

    Thank you very much for your reply to my post. I am sorry for that not to mention my error here. I am getting runtime error53 and i am getting error exactly here

    Please Login or Register  to view this content.
    Thanks again
    Regards,
    Genetist

  4. #4
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,173

    Re: Needs macro to copy excel files from folders, subfolders to new folder

    dont need the parens.
    you cant copy a file to a *. You need an EXACT file name.

+ 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. [SOLVED] list of subfolders in folder - without files and sub-subfolders
    By MartyZ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2022, 10:56 AM
  2. Macro to extract all metadata from files and subfolders in a folder
    By Abbadon486 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2014, 10:32 AM
  3. Macro Code to Encrypt Multiple Excel Files in Folders and Subfolders
    By ali_1989 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-04-2014, 12:53 PM
  4. [SOLVED] Opening Excel files in same folder through a Macro - but not subfolders?
    By toffee_madman in forum Excel General
    Replies: 9
    Last Post: 10-19-2011, 11:09 AM
  5. Replies: 2
    Last Post: 05-07-2006, 03:20 PM

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