+ Reply to Thread
Results 1 to 2 of 2

VBA to copy data from one workbook to another main workbook

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    Singapore
    MS-Off Ver
    2007/2010
    Posts
    55

    VBA to copy data from one workbook to another main workbook

    Hi Guys,

    I have 2 excel workbooks:
    Work_2014.xlsm Work_2014.xlsm
    This workbook is the main workbook which contains my lengthy VBA code to extract the data from "Book1.xlsx"
    Book1.xlsx Book1.xlsx
    This workbook contains certain columns highlighted in yellow which will be selected, copy and pasted into certain cells in "Work_2014.xlsm"

    Prior to run, launch both excel workbooks to enable the macro to work successfully as I refer to specific workbooks and sheets in the code.
    Please run the macro "RetrieveData" in "Work_2014.xlsm" to see how it runs.
    Any form of help is appreciate to shorten my VBA code as it is repeating and long. Or, improve it to do what it was meant to do originally.

    Your help is greatly appreciated if you can assist me in this request.

    Thanks & Regards,
    hate0lif3

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: VBA to copy data from one workbook to another main workbook

    one way, see if it helps you
    Please Login or Register  to view this content.
    Last edited by john55; 07-10-2014 at 05:30 AM.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

+ 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: 3
    Last Post: 07-01-2014, 02:48 PM
  2. Copy information from other workbook to main workbook help 2007
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2013, 08:09 PM
  3. Extracting data from multiple workbook in folder into main workbook
    By Julesdude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2010, 11:25 AM
  4. Replies: 5
    Last Post: 09-30-2008, 06:38 AM
  5. Replies: 3
    Last Post: 09-30-2008, 04:58 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