Results 1 to 5 of 5

Copy info from variable workbooks to a masterfile then loop

Threaded View

batuh Copy info from variable... 04-30-2014, 04:33 PM
Jack7774 Re: Copy info from variable... 04-30-2014, 04:54 PM
Jack7774 Re: Copy info from variable... 05-09-2014, 03:30 PM
batuh Re: Copy info from variable... 05-09-2014, 03:39 PM
Jack7774 Re: Copy info from variable... 05-09-2014, 03:51 PM
  1. #1
    Registered User
    Join Date
    04-30-2014
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy info from variable workbooks to a masterfile then loop

    Hi guys.

    I been looking through the internet for a similar code to tweak and use for what i want but i´ve had no luck

    Basically, what i have is a master file that needs to pull info from other sources (a simple copy and paste)
    those files are called Inventory_xxxx.xlsm . Inside the master file, there are cells with the number of the inventory.
    What i need is a way to tell excel to check what number is in the cell, open the files with that number, get the info from the files and paste it back in the master file... and the part that i consider the trickiest, a way to loop it.

    For example, lets say i have 2248 in cell A10, it should open Inventory_2248.xlsm copy the contents from cell N4,O4,P4,Q4,R4, and S4(Inventory File) into N10,R10,S10,T10 and U10 (Master file) respectively
    then in A11, there could be a 2250 so it should open the 2250 file get the info, paste it and so on.....

    now i dont even know if this is do-able or just impossible, been fiddling with various codes to no avail.
    Any kind of help would be incredibly appreciated
    Thanks in advance

    -Batuh
    Last edited by batuh; 04-30-2014 at 04:44 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 12-21-2012, 08:03 AM
  2. Needing Loop to copy/paste if there is info in the row
    By feephan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2011, 01:29 AM
  3. Linking info in workbooks based on a variable
    By jexcelnewb in forum Excel General
    Replies: 9
    Last Post: 02-09-2011, 02:49 PM
  4. Loop through named range and copy info into a combo box
    By Patronedheart in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-31-2009, 10:41 AM
  5. loop to copy data from multiple workbooks into one
    By staffordalex in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-05-2008, 01:13 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