Results 1 to 19 of 19

Macro to copy two Sheets matching Source to each workbook in matching Destination Folder

Threaded View

  1. #3
    Forum Contributor
    Join Date
    06-03-2004
    Location
    India
    MS-Off Ver
    2013
    Posts
    205

    Re: Macro to copy two Sheets matching Source to each workbook in matching Destination Fold

    Hello JLGWhiz

    Thanks for the code but it is not doing anything
    I tested the macro thru F8
    It went thru the following lines only before the MsgBox is popping up

    Sub copyStuff()
    Dim wbsrc As Workbook, wbdst As Workbook, fName As String, sPath As String, dPath As String
    sPath = "C:\Source\Master\"
    dPath = "C:\Destination\"
    fName = Dir(sPath & "*.xls*")
        Do While fName <> ""
    ......
    Not processing any codes in between here
    .......
    MsgBox "All Files Have Been Processed!", vbInformation, "COMPLETE"
    Can you please check?

    Thanks once again.

    Rashid
    Last edited by JBeaucaire; 10-01-2017 at 08:18 PM. Reason: Added missing CODE /CODE tags, please read and follow the Forum Rules, a link to them in blue menu bar above. Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need a Macro for two sheets, matching and looping, to copy data over.
    By jana_wire in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2017, 03:45 PM
  2. [SOLVED] VBA: Looking for a Macro to Match and Copy from Source to Destination Sheet
    By AliGW in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-01-2016, 03:16 AM
  3. [SOLVED] Copy certain files from Source folder to Destination folder
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2015, 08:56 PM
  4. VBA Copy Paste Cuts From Source, Sends to Ether - Not To Destination Workbook
    By jcaynes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2014, 11:05 AM
  5. Macro to copy entire columns with matching dates from another workbook
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2012, 01:23 PM
  6. [SOLVED] how to copy succeeding rows from source workbook to destination w.
    By chris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2005, 10:06 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