+ Reply to Thread
Results 1 to 7 of 7

need macros code to copy files

  1. #1
    Registered User
    Join Date
    06-27-2013
    Location
    jakarta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Red face need macros code to copy files

    dear all, I need macros code that works like dos commad : copy c:\files*.txt d:\data\ . thanks for your support

  2. #2
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: need macros code to copy files

    Please Login or Register  to view this content.
    untested !
    If solved remember to mark Thread as solved , to mark your thread as Solved select Thread Tools and click Mark thread as Solved.

    I can't read the mind of my wife so then I get picture but no sound .... and then I mostly get the idea, same goes here picture your outcome and I get the idea.

  3. #3
    Registered User
    Join Date
    06-27-2013
    Location
    jakarta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: need macros code to copy files

    dear hulpeloos,
    the code isnot work, it is looping...
    please help

  4. #4
    Registered User
    Join Date
    06-27-2013
    Location
    jakarta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: need macros code to copy files

    the problem solved.
    I modified your code.

    Please Login or Register  to view this content.
    Last edited by Fotis1991; 09-11-2013 at 02:18 AM. Reason: adding code tags!

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: need macros code to copy files

    Try this modefication of hulpeloos code

    Please Login or Register  to view this content.
    Alf

    Ps Any credit for solving this problem should go to hulpeloos who did 95 % of the work!

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: need macros code to copy files

    @ superbeltsazar

    Welcome to the forum

    Pls use code tags arround the code according to Forum rule number 3.

    This time i did for you. Pls next time do it yourself!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Registered User
    Join Date
    06-27-2013
    Location
    jakarta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: need macros code to copy files

    thanks for your support all.

+ 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. VBA code that cut .pdf files and copy in respective folders
    By waqarqrl in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 10-07-2013, 04:46 AM
  2. Replies: 2
    Last Post: 08-17-2009, 02:07 AM
  3. Copy entire worksheet including all Macros and VBA Code
    By alanda in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-22-2008, 04:03 PM
  4. code to copy txt files from floppies
    By hsmeet in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-27-2008, 10:16 PM
  5. Copy and pasting files with macros
    By Kevin in forum Excel General
    Replies: 1
    Last Post: 01-27-2005, 06:06 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