+ Reply to Thread
Results 1 to 4 of 4

FileCopy list of files to another folder

  1. #1
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    FileCopy list of files to another folder

    I'm trying to create a way for users to copy files based on check boxes.

    Column A is linked with the checkboxes. If "TRUE" is found in column A - offset 6 on the right lists the path and file name. I would like to copy that file and move to C:\apps\print\

    Please Login or Register  to view this content.
    Also tired FileCopy sourcepath, dstpath
    Last edited by Tortus; 07-19-2016 at 03:41 PM. Reason: Solved.
    If we all use our Minds our Heads and our Brains NO TELLING what we could come up with!!

  2. #2
    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: FileCopy list of files to another folder

    C:\apps\print\
    Am I missing something? When you create a folder should not the string be "C:\apps\print"

    Your dstPath is of cource right.

    An alternative command to making a directory could be

    Please Login or Register  to view this content.
    Alf

  3. #3
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Re: FileCopy list of files to another folder

    Creating the folder is working as I expected. I think the problem is the source path or how excel translates the link in the cell. The sourcepath is showing blank but I know I'm on the correct cell with the file listed that I am trying to copy to c:\apps\print\

  4. #4
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Re: FileCopy list of files to another folder

    Please Login or Register  to view this content.
    Got it!

+ 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. Copying files with FileCopy - files not released after running?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-16-2015, 11:50 AM
  2. macros to list all files in folder THEN get info from files?
    By jonyorker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2015, 03:11 AM
  3. Noob 4 Help - Macro to LIST ALL FILES IN FOLDER and then IMPORT ALL LISTED FILES
    By StlSmiln in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2012, 04:02 AM
  4. Copy files via wildcard, FileCopy not working
    By koltregaskes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2011, 10:33 AM
  5. List All Files In Folder
    By Rikuk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-07-2009, 05:02 PM
  6. list files in folder
    By stoney1977 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-24-2009, 01:53 PM
  7. Alternative to the FileCopy Statement for open files?
    By broro183 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2008, 06:07 AM

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