+ Reply to Thread
Results 1 to 2 of 2

Macro to import multiple workbooks into one table

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365
    Posts
    3

    Macro to import multiple workbooks into one table

    Hi everyone,

    Hoping for some assistance please - I've only been working with macro's for about three days now and this one is proving to be a bit of a head-scratcher for my limited skills!

    I have created a workbook and sent it out to a database of companies for them to complete and send back to me, they are now stored in one central folder but have a variety of naming conventions. Unfortunately I also created this workbook when my excel skills were limited so the data sources aren't the easiest to navigate - but this is what I have:

    1. The company name will always be in cell D6 (selected from a dropdown of company names), there may be a department identifier (but not always) in D7
    2. There are four questions that have been answered (columns F, G, H, I)
    3. Each of the four questions has been answered in multiple categories (headers at C11, C20, C29, C38)
    4. Each category has eight identical scenarios that have been answered (C12-19, C21-28, C30-37, C39-46)

    What I am eventually wanting to achieve is to be able to select one, or multiple companies, then select a scenario with the result being their answer to each of the four questions, in each of the four categories.

    Any help or direction anyone can give would be extremely appreciated!

    Cheers,
    Chris
    Last edited by chughes.akl; 04-14-2020 at 12:12 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to import multiple workbooks into one table

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. Import data from multiple workbooks to a certain workbook
    By margyris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2017, 03:52 AM
  2. import cls file on multiple workbooks
    By onbeillp111 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2016, 02:10 PM
  3. Modify exiting Macro Export data from multiple workbooks and Import into 1 Master workbook
    By SerenitynWisdom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 11:55 PM
  4. Import from 5 Excel Workbooks into one Access Table
    By pjkeady in forum Access Programming / VBA / Macros
    Replies: 7
    Last Post: 05-31-2011, 02:19 PM
  5. Import 5 excel workbooks into 1 access table
    By pjkeady in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2011, 01:45 PM
  6. Using Query to Import Data from Multiple Workbooks
    By laundry125 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-19-2008, 03:24 AM
  7. [SOLVED] import multiple workbooks into 1 workbook
    By Anita in forum Excel General
    Replies: 10
    Last Post: 03-07-2005, 10:52 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