+ Reply to Thread
Results 1 to 4 of 4

Data Scraping

  1. #1
    Registered User
    Join Date
    09-21-2016
    Location
    Scottsdale, AZ
    MS-Off Ver
    2016
    Posts
    34

    Data Scraping

    Hello all,

    I have an issue with the software that our company uses because it does not have extensive reporting features that someone in my position relies on to control a company. So I have found different ways of extracting data from the system and now I need to organize it to make it usable.

    I have attached a spreadsheet with a sheet have the raw data in it (this data came from a exported pdf file that I converted to excel using DC Pro). I have also created a macro that searches for key words and then offsets to the data I'm needing, makes a copy and pastes on another sheet, and this all works great.

    The problem comes in when there is more than one line item under the Description Cell because my current macro will only grab the data from the first offset cell, which that is what its supposed to do but now I need it to grab all other line items if they exist.

    Please run the macro and if you need more clarification just let me know.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Scraping

    This should do it:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-21-2016
    Location
    Scottsdale, AZ
    MS-Off Ver
    2016
    Posts
    34

    Re: Data Scraping

    That works perfectly, you made the code to work so fast it is blowing my mind. You must have looked at my code and thought this guy is retarded. LOL. Thank you so much for your help, and if you have the time can you give me a breakdown of how your code works, because honestly I don't understand it, if I wanted to modify it, i wouldn't know where to start.

    Thanks you again.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Scraping

    Here you go:
    Please Login or Register  to view this content.

+ 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. Web Scraping Data Using VBA
    By zaska in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-25-2017, 09:52 PM
  2. VBA web data scraping from table
    By fotodj in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-25-2016, 03:18 PM
  3. Data Scraping from the WebSite
    By sathis in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-26-2015, 10:46 AM
  4. scraping data from a website
    By redpanda in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-05-2012, 01:20 PM
  5. Scraping Data using VBA
    By Nala2355 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2011, 11:21 AM
  6. Data scraping
    By brewers7 in forum Excel General
    Replies: 8
    Last Post: 02-06-2011, 12:45 AM

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