+ Reply to Thread
Results 1 to 3 of 3

Code to copy and past information from many workbooks

  1. #1
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Code to copy and past information from many workbooks

    I have workbooks saved with a predictable naming scheme (date - shift number between 1 and 4). I'm looking for a code that can copy info from these workbooks and past it into another.
    So the code would have to open a workbook, count how many rows it needs to copy in range A9:AY30 depending if column A is not blank, copy these rows into the active workbook (2015 fiscal) starting in column C, and place the date in column A and shift in column B. These two pieces of info can either be pulled from the file name or from cells G3 and G5. Then close the opened workbook

    After this is done the code would have to loop and paste into the next available blank row in 2015 fiscal and repeat until no more workbooks exist in the file path on the computer (all workbooks will be in the same folder).

    I've attached three workbooks (2 source workbooks and the desired destination) with example output.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Re: Code to copy and past information from many workbooks

    This is were my thought process has gotten me so far:
    Please Login or Register  to view this content.
    Although i am not at a working code yet.

  3. #3
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Re: Code to copy and past information from many workbooks

    Any thoughts?
    I'm stumped

+ 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. Advice and help with a copy past code or filldown formula code
    By KELLIS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2013, 02:07 PM
  2. [SOLVED] copy past transpose code error
    By anilg0001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2013, 05:14 AM
  3. Need a way to copy and past information
    By CRS- in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2013, 02:44 PM
  4. [SOLVED] Trying to copy information and past into another sheet
    By suemcintyre in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2013, 09:05 AM
  5. Copy cell information into different workbooks
    By Anitykk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-19-2012, 06:43 PM
  6. [SOLVED] Copy from single workbook and past to multiple workbooks
    By Alby22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2012, 04:40 PM
  7. problem with code. past link instead of copy
    By Paul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2006, 04:00 AM

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