+ Reply to Thread
Results 1 to 2 of 2

VBA code to extract data from multiple sheets and populating in a new sheet

  1. #1
    Registered User
    Join Date
    06-10-2019
    Location
    UK
    MS-Off Ver
    2013
    Posts
    1

    Question VBA code to extract data from multiple sheets and populating in a new sheet

    Please can someone help in providing vba code to extract data from sheet1 and sheet2 and populate the desired output as mentioned below in sheet3?
    Your help will be much appreciated.

    Sheet 1

    Column1 Column2
    John MS Access
    John MS Word
    John MS Excel
    Smith MS Paint
    ..... .....


    Sheet 2

    Column1 Column2
    John HR
    John Finance
    John IT
    Smith Finance
    ..... .....

    Desired Output in Sheet3

    Column1 Column2 Column3
    John MS Access HR
    John MS Word HR
    John MS Excel HR
    John MS Access Finance
    John MS Excel Finance
    John MS Word Finance
    John MS Access IT
    ... ...... .....

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    16,193

    Re: VBA code to extract data from multiple sheets and populating in a new sheet

    This is a simple merger of tables using Power Query joining the tables on the Columns 1. Here is the Mcode
    Please Login or Register  to view this content.
    and the file.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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