+ Reply to Thread
Results 1 to 2 of 2

macro to copy template files throughout a network directory

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    373

    Post macro to copy template files throughout a network directory

    I have a master excel template file that receives frequent updates. The file path and name on our network is Z:\Jobs\2024\_PO\_PO Template.xlsm. I want to use that master file to replace all files in any of the subdirectories starting with the parent directory N:\Jobs\2024, while excluding the source directory, N:\Jobs\2024\_PO\ from the replace function. It should ignore open files with a message for the user that it was open and could not be copied, then continue on through the rest of the directories. Once the replacements are complete it should inform the user.

    It's been kicking me in the but for a couple of hours now......

    Thanks Gurus
    Last edited by scaffdog845; 03-07-2024 at 05:01 PM. Reason: I continued working and got it resolved. Thank you
    Click here to read the Forum Rules
    Whatever it is in life you decide to go after, go after with great ferocity.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,933

    Re: macro to copy template files throughout a network directory

    What was the resolution? Please share.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 7
    Last Post: 10-21-2019, 09:48 PM
  2. Replies: 1
    Last Post: 02-22-2019, 07:52 PM
  3. [SOLVED] macro to copy excel files only from main directory and sub directory to a specific folder
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2019, 09:49 AM
  4. [SOLVED] Need macro to copy files (full path list) to another directory
    By jhren in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-11-2015, 11:18 AM
  5. Using Network Directory in Macro Not Working Properly
    By vcs1161 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2013, 10:47 AM
  6. Copy files from VM Ware to the local or the network path usign Excel Macro
    By kumarvivek07vit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 10:28 AM
  7. MACRO that can copy files from a network folder
    By Traymond in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-07-2011, 07:53 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