+ Reply to Thread
Results 1 to 4 of 4

Macro to transfer all data from one workbook to a specific sheet in another workbook

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    85

    Macro to transfer all data from one workbook to a specific sheet in another workbook

    Evening all! I have limited VB skiils and been looking for a macro described in the title but have not seen any that fit my needs.

    Basically I have data in 2 different workbooks as attached, and I need to transfer all data in 'Jx_ex1' to sheet1 in the 'template' workbook, and all data in 'Gr_ex1' to sheet2 in 'template' workbook. The data must be transferred to the same cell numbers as the original data is in. I actually have loads of workbooks to transfer to the template but if I have an example with the two then im sure I can work out how to modify it. The template has the data in it how I want it to look after running the macro.

    Any help would be greatly appreciated! Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Macro to transfer all data from one workbook to a specific sheet in another workbook

    In the template in Sheet1, row1 is blank and in Sheet2, rows 1-8 are blank. Is this the case in your actual template. Would it cause disharmony if the sheet1 of each of the files was copied in to the template? or will it be necessary to map the data to specific ranges? This is an important question as to how the data is transferred. Are all the workbooks to be transferred located in the same folder? Are there any files in the folder that should not be transferred.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    09-30-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro to transfer all data from one workbook to a specific sheet in another workbook

    Thanks for the reply, yes that is the case in the template with row 1 being blank on sheet 1, and rows 1-8 in sheet 2. It doesn't really matter as long as it is consistent between 'ja' and consistent between 'gr' files. All data should be transferred rather than specific ranges.
    All workbooks are in the same folder and all workbooks in that folder should be transferred, with each workbook being sent to a specific sheet name within the template. Does that help? Thanks alansidman!

  4. #4
    Registered User
    Join Date
    09-30-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro to transfer all data from one workbook to a specific sheet in another workbook

    Can anyone help? I'm sure someone clever who can transfer data to 1 sheet knows how to transfer data to multiple specific sheets

+ 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. macro to copy data from one workbook to another on specific sheet
    By Chetan Chauhan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-08-2014, 02:01 PM
  2. [SOLVED] Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2013, 08:24 AM
  3. Replies: 2
    Last Post: 04-15-2013, 09:06 AM
  4. Macros to transfer specific data from one workbook to another
    By Johnptry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2012, 02:04 PM
  5. [SOLVED] Macro to Transfer Specific Columns from One workbook to another
    By luke.guthrie in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-16-2012, 11: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