+ Reply to Thread
Results 1 to 1 of 1

Copy paste loop using multiple tables

  1. #1
    Registered User
    Join Date
    09-01-2010
    Location
    England
    MS-Off Ver
    Excel 2010/13
    Posts
    17

    Copy paste loop using multiple tables

    My request is a little more complicated than the title suggests.

    Basically:

    I have a list of employees in table 1 under column A.

    I have a list of dates in table 2 under column A. I have a list of Types in table 2 under column B.

    Finally I have an empty database for table 3

    So the database would be Name = column A, Date = column B, Type = column C

    I want to copy the employee name from table 1 and the first date from table 2 and put it into table 3. Then the same employee with the second date and so on until the last date is reached. Note, the Type is always the same (for the purpose of this routine)

    Then copy the second employee, first date, second date etc and repeat until all employees have been copied.

    table 3 should look like this:

    EmployeeA Date1 TypeA
    EmployeeA Date2 TypeA
    EmployeeA Date3 TypeA
    EmployeeB Date1 TypeA
    EmployeeB Date2 TypeA
    EmployeeB Date3 TypeA
    .....
    EmployeeF Date1 TypeA
    EmployeeF Date2 TypeA
    EmployeeF Date3 TypeA

    etc........

    Thanks in advance

    Andy
    Last edited by Goldbadger; 06-19-2015 at 08:55 AM.

+ 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. Copy Paste multiple tables from multiple sheets into Outlook email
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2015, 12:21 PM
  2. Code NOT working properly - Copy/Paste Multiple Tables
    By Blackhawks in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2014, 12:18 PM
  3. [SOLVED] Copy and Paste Multiple times and loop
    By Dnass in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2013, 08:44 PM
  4. [SOLVED] vba copy and paste based on multiple loop criteria
    By sarahcpa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-19-2013, 10:29 AM
  5. [SOLVED] Loop, Find, Copy, and Paste between multiple worksheets
    By bg_enigma1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2012, 06:40 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