+ Reply to Thread
Results 1 to 3 of 3

Extract data from a different workbook

  1. #1
    Registered User
    Join Date
    05-20-2016
    Location
    US
    MS-Off Ver
    16
    Posts
    14

    Extract data from a different workbook

    Hello Excel Help Forum!
    I am attempting to build a userform for feedback collection. Only the userform is to be visible to the user once clicking on an icon. The data will be temporarily stored on the spreadsheet tied to the form (feedback). A different user will need to access the data from a different xl (work) which upon opening will automatically pull the data into the spreadsheet. The data being pulled from (feedback) will be a running range of info so when pulling the data out it needs to be a ranged and removed and then placed into the next row available in the "work" workbook.

    Soo, I kinda need some help with setting up the extraction process between workbooks. I reviewed some code online and watched Automate Data Extraction Without Opening Destination Workbook on youtube, but I'm still not able to make this work and probably have more code than I need. Can someone help me get started?

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Extract data from a different workbook

    I suggest you plan out your project. What EXACTLY needs to happen and when? Make a diagram or a list of steps that need to happen from start to finish.
    Then cut each piece up into as many small steps as possible, and THEN you can come ask us for help.

    Otherwise we are either suggesting things WAY different or more difficult than you need and we all spend time sub-optimally, which is most likely the reason you are getting no responses.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    05-20-2016
    Location
    US
    MS-Off Ver
    16
    Posts
    14

    Re: Extract data from a different workbook

    Yeah, I hoped to keep it simple but I guess more info is needed.

    Workbook “Lift Driver Feedback Form” = …form
    Sheet = feedback
    This is the form my userform is tied to. This xlsm has a sheet titled Feedback which will temporarily house the data collected from the form. Eventually this xlsm will not be visible, when the excel icon is selected I want only the userform to come up – but I still need a backdoor for updates and troubleshooting... but not quite to that stage of the build yet. The reason all the info will not be on one xlms is to avoid read only issues and easier accessibility to the users who will only need the data collected, not the form.

    sp1.png

    Workbook “Lift Driver Feedback Data” = …data
    Sheet =data
    Upon opening this form I hope to have it initialize the extraction process from “…form” workbook sheet1!feedback to “…data” workbook sheet1!data. So it would open the workbooks, find the cell range (using erow) in the “…form” workbook, cut it, then paste that info in “…form” workbook based on next available row. Both sheets are set-up and formatted exactly the same. The data is between rows F and K.

    I started playing with the code at http://www.familycomputerclub.com/au...-workbook.html but had trouble figuring out which file names I needed to change and what isn’t needed for this build. So maybe I bit off a little more than I can chew, but so far it’s been fun learning.

    If one of you can guide me along that would be awesome!!!

    ***short version***
    Initialize extraction when Workbook “Lift Driver Feedback Data” is opened
    Open workbook Workbook “Lift Driver Feedback Form” sheet!feedback
    Select range based on endrow(?) F to K and up to row2
    Cut range
    Closed and save Workbook “Lift Driver Feedback Form”
    Paste range at erow of Workbook “Lift Driver Feedback Data” sheet!data
    Save file and remain open
    Last edited by Armadeli; 05-25-2016 at 12:09 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. extract cell data from one workbook to master workbook
    By mikey141 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2015, 11:05 PM
  2. Extract data from workbook
    By andrugrasu in forum Excel General
    Replies: 6
    Last Post: 07-17-2014, 03:09 PM
  3. Extract all data to new workbook then filter and extract to new worksheets
    By graphicgoose in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2014, 08:18 PM
  4. Extract Data to New Workbook
    By screamersp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2013, 07:46 PM
  5. [SOLVED] Extract data from one workbook and populate a separate workbook
    By gobeavers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2012, 05:45 PM
  6. Extract data from 1 workbook to create report in 2nd workbook
    By singingstomacg in forum Excel General
    Replies: 0
    Last Post: 07-10-2012, 05:04 PM
  7. Extract selected Data from workbook to workbook
    By leopradeep in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-04-2007, 06:21 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