+ Reply to Thread
Results 1 to 1 of 1

Need help with copying files based on conditions

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    2

    Need help with copying files based on conditions

    Hello,

    I am new to the forums and I have been hit a roadblock for an excel program I am working on for my job. Daily, we have to copy contents of a dropbox folder and move them to a shared network drive. We would like to automate this process. The program itself will likely be ran several times a day so it's important that it meets certain conditions before copying the files.

    The code from this site is helpful but it automatically overwrites the files:

    http://www.rondebruin.nl/win/s3/win026.htm

    I've tried to do research on posts here but none really apply to my needs. With that said, here is what I would like the macro to do:
    1. Pull a list of the files names for a specified folder and compare them to the list of files and attributes on our shared network drive. (If there is a better solution to this please feel free to recommend an alternative)
    2. I would like to then copy the files from the dropbox folder if they do not already exist. If they do exist and it was created today, I would like to skip the copying process. If it was NOT created today I would like for the vba to add a timestamp to the filename as such "filenameYYYYMMDD.pdf" and then proceed with the copying process.
    3. If possible if I could add a status bar of the copying process and generate a popup notification once the copying is complete.

    Thank you all so much in advance for helping me look for a solution.
    Last edited by cmill02s; 10-09-2013 at 02:37 PM.

+ 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] Copying files based on filename
    By audioboxer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-01-2012, 01:27 PM
  2. Copying Data from One Worksheet to Another One Based on Conditions VBA
    By esanchez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2011, 04:36 PM
  3. Help with copying data between 2 files based on 2 unique matching conditions
    By cowboy713 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2010, 04:51 PM
  4. Merge different excel files into a single Worksheet based on different conditions
    By amit.awati in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-15-2010, 09:51 PM
  5. Replies: 1
    Last Post: 01-14-2010, 03:31 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