+ Reply to Thread
Results 1 to 19 of 19

Data Import Only importing small amount of web page

  1. #1
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Data Import Only importing small amount of web page

    When I navigate to DATA > From Web and point it to
    Please Login or Register  to view this content.
    and I try and select all the data it only imports the headings and not any of the other data such as the summary or player names etc. Why is this and what do I have to do to get all the data I physically see imported into excel?
    Last edited by ScabbyDog; 01-30-2016 at 11:05 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Anyone any ideas? I recorded the data web import macro but that only brings in a fraction of the data that I see on the page when it is loaded. Do I need other code to get all the data?

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Data Import Only importing small amount of web page

    Hi,

    The older Data from Web import only showed web data that was formatted as a TABLE. That means it would show little yellow arrows at the end of each table that was found on the web page. Web designers may or may not use HTML tables now in their design. Excel has now updated their web import using Power Queries. Read about it at:

    https://bennyaustin.wordpress.com/20...erqueryimport/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    I have used web query few times. I don't know much about it in detail.
    But excel seems to ignore certain data at the link you provided.
    Why don't you try the US version of the website.
    Link-
    Please Login or Register  to view this content.
    Use this in web query. And instead of selecting the whole page select the tables you want to import. It worked for me.

    This may help!!
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  5. #5
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Quote Originally Posted by sourabhg98 View Post
    I have used web query few times. I don't know much about it in detail.
    But excel seems to ignore certain data at the link you provided.
    Why don't you try the US version of the website.
    Link-
    Please Login or Register  to view this content.
    Use this in web query. And instead of selecting the whole page select the tables you want to import. It worked for me.

    This may help!!
    You happen to have the code for that?

  6. #6
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Actually....it keeps re-directing me to .co.uk so that's not any help I'm afraid.

  7. #7
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Quote Originally Posted by MarvinP View Post
    Hi,

    The older Data from Web import only showed web data that was formatted as a TABLE. That means it would show little yellow arrows at the end of each table that was found on the web page. Web designers may or may not use HTML tables now in their design. Excel has now updated their web import using Power Queries. Read about it at:

    https://bennyaustin.wordpress.com/20...erqueryimport/
    If I got this add on, can it be used with macros as well?

  8. #8
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    I don't have a code.
    Check attached. I have made a web query for a table from that link.
    See if this helps.
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Quote Originally Posted by sourabhg98 View Post
    I don't have a code.
    Check attached. I have made a web query for a table from that link.
    See if this helps.
    Could you use the Record Macro feature, and then import that data from that URL? Then you should be able to post the code on here.

  10. #10
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    You can turn off the re-directions.
    When you goto Data>>From Web>>
    In the dialog click on "Options" on the top right corner.
    Disable web query redirections from there.

  11. #11
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    Here you go>>
    Please Login or Register  to view this content.
    EDIT- DISABLE REDIRECTIONS

  12. #12
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Quote Originally Posted by sourabhg98 View Post
    You can turn off the re-directions.
    When you goto Data>>From Web>>
    In the dialog click on "Options" on the top right corner.
    Disable web query redirections from there.
    Unfortunately it still redirects me to .co.uk! Even when running the code it redirects too!

  13. #13
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    Did you try the macro?

  14. #14
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Quote Originally Posted by sourabhg98 View Post
    Did you try the macro?
    I did and it runs fine but returns nothing for me so I'm assuming it redirects to co.uk and therefore picks up no data.

  15. #15
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    I hope you tried with the edited macro with
    Please Login or Register  to view this content.
    Strange, if it doesn't work!!

  16. #16
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Quote Originally Posted by sourabhg98 View Post
    I hope you tried with the edited macro with
    Please Login or Register  to view this content.
    Strange, if it doesn't work!!
    Yeah I made sure that line was correct. Not sure what is causing the re-direct so!

  17. #17
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    Ok then my Last Attempt -
    Please Login or Register  to view this content.

  18. #18
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Data Import Only importing small amount of web page

    Still redirects me and therefore imports no data! Thanks for trying anyway. Perhaps somebody else knows some code that will extract the data from the URL?

  19. #19
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Data Import Only importing small amount of web page

    I am sorry then
    That is all I could do.
    Maybe someone else can help you in this.

    Good Luck!

+ 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. Importing data from a web page in Excel
    By Nitin002002 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2014, 02:22 AM
  2. Importing data from new web page
    By adamfranklin in forum Excel General
    Replies: 1
    Last Post: 03-08-2013, 01:20 PM
  3. Replies: 6
    Last Post: 09-27-2012, 10:45 AM
  4. Excel Import Data not importing entire data set
    By gravine in forum Excel General
    Replies: 1
    Last Post: 02-01-2012, 02:33 PM
  5. Importing a large amount of data
    By The Markey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2008, 03:44 PM
  6. importing data:What i would like to do is be able to import
    By censura in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2007, 08:32 AM
  7. Importing checkbox data from web page
    By Linda Ellison in forum Excel General
    Replies: 0
    Last Post: 04-18-2006, 01:46 PM
  8. Importing a large amount of data using Basic
    By MrsButtersworth in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2005, 05:19 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