+ Reply to Thread
Results 1 to 3 of 3

Merge a range from all workbooks in a folder to one Master Sheet

  1. #1
    Registered User
    Join Date
    08-25-2014
    Location
    GREECE
    MS-Off Ver
    2007
    Posts
    10

    Merge a range from all workbooks in a folder to one Master Sheet

    i do some changes on code and working for me, but i can't not find way how to do one more change.. i need every time if run the code, to continue merge records to first empty row on destination sheet..
    I am trying to do that, but all without success
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-25-2014
    Location
    GREECE
    MS-Off Ver
    2007
    Posts
    10

    Re: Merge a range from all workbooks in a folder to one Master Sheet

    'Set the destrange
    Set destrange = BaseWks.Range("A" & Rows.Count).End(xlUp).Offset(1, 0)

    in first 26 rows i take name of files after that is ok

  3. #3
    Registered User
    Join Date
    08-25-2014
    Location
    GREECE
    MS-Off Ver
    2007
    Posts
    10

    Re: Merge a range from all workbooks in a folder to one Master Sheet

    delete: 'Copy the file name in column A
    With sourceRange
    BaseWks.Cells(rnum, "h"). _
    Resize(.Rows.Count).Value = MyFiles(Fnum)
    End With

+ 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] How to merge more than 2 workbooks in one master workbook
    By hkbhansali in forum Excel General
    Replies: 1
    Last Post: 04-20-2014, 11:58 AM
  2. VBA to SUM all workbooks in a folder into a master
    By Freakaholic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2014, 04:46 AM
  3. [SOLVED] Consolidate Data from 1 Range on 1 Sheet in Multiple Workbooks to Master Workbook Sheet
    By Jennasis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2013, 06:11 AM
  4. merge csv files within same folder into one master file
    By dvb_24 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-07-2012, 07:11 PM
  5. Master summary from a folder of workbooks
    By badgerooster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-25-2011, 04:28 PM

Tags for this Thread

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