+ Reply to Thread
Results 1 to 10 of 10

VBA: Importing more than 1 miliion Rows of Data from Websiite (Multiple Tabs)

  1. #1
    Forum Contributor
    Join Date
    12-23-2012
    Location
    Pakistan
    MS-Off Ver
    Microsoft office LTSC professional plus 2021 version 2403 (Build 17425.20176)
    Posts
    365

    VBA: Importing more than 1 miliion Rows of Data from Websiite (Multiple Tabs)

    at the following website
    https://oec.world/en/resources/data/
    there is a file namely "year_origin_sitc_rev2", the extension of this file is TSV when i import this file by using DATA/FROM TEXT, it does not extract the complete file becasue the rows are more than 1 MLN, how do i extract it, the file must be completely extracted, the size of the file is 67 MB (rar file) actual size is 243 MB TSV
    Last edited by AliGW; 02-20-2020 at 06:47 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,103

    Re: using text to column by extracting data

    Excel can support up to 1,048,576 rows. If it's more than that, you can't.

    If you can get the data out into a .txt file, then you may be able to import it into multiple tabs.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    12-23-2012
    Location
    Pakistan
    MS-Off Ver
    Microsoft office LTSC professional plus 2021 version 2403 (Build 17425.20176)
    Posts
    365

    Re: using text to column by extracting data

    Thanks AliGW, I'm opening in notepad but it is taking too much time, is there any macro which take the data from the file and import in different sheets by using DATA/TEXT FROM

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,103

    Re: using text to column by extracting data

    Possibly - I'll move this to the VBA section so that our VBA experts will see it.

  5. #5
    Forum Contributor
    Join Date
    12-23-2012
    Location
    Pakistan
    MS-Off Ver
    Microsoft office LTSC professional plus 2021 version 2403 (Build 17425.20176)
    Posts
    365

    Re: using text to column by extracting data

    Thanks once again

  6. #6
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Question

    Quote Originally Posted by geniusufo007 View Post
    is there any macro which take the data from the file and import in different sheets by using DATA/TEXT FROM
    Explain at least what is your criteria to cut data to different sheets …

    Why Excel ? As there is no limit using a database software which runs at least 50 times faster than Excel !

  7. #7
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: VBA: Importing more than 1 miliion Rows of Data from Websiite (Multiple Tabs)

    @geniusufo007;

    There is an API section which gives some data in JSon format.

    https://oec.world/api/

    May be you can use one of the API calls to get data, which is more easy then downloading that huge file and fetch the data.

    Example:

    https://oec.world/hs92/export/2010/usa/all/show/

    .

  8. #8
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: VBA: Importing more than 1 miliion Rows of Data from Websiite (Multiple Tabs)

    Chip Pearson's site has some code to import large text files that you could try.

    http://www.cpearson.com/excel/ImportBigFiles.aspx
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  9. #9
    Forum Contributor
    Join Date
    12-23-2012
    Location
    Pakistan
    MS-Off Ver
    Microsoft office LTSC professional plus 2021 version 2403 (Build 17425.20176)
    Posts
    365

    Re: VBA: Importing more than 1 miliion Rows of Data from Websiite (Multiple Tabs)

    Thanks all and let me check

  10. #10
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow


    In fact all can be imported within a single worksheet but as it depends on the layout you want …

+ 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. Macro for extracting data from a long column and insert it in its own column with a header
    By ChemistryStudent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2014, 04:41 AM
  2. [SOLVED] Help: extracting text from column if two other columns match
    By rivendale34 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-19-2013, 04:42 PM
  3. Extracting specific text from a column and copying to another sheet or workbook
    By Noobcake in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-04-2013, 09:29 AM
  4. [SOLVED] Extracting/matching row & column data for column greater than 0
    By trinston in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2013, 01:03 PM
  5. [SOLVED] Extracting specific part of the text string to another column
    By ssanjju in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 01-20-2013, 07:20 PM
  6. Extracting data from column based on specific criteria and pasting into new column
    By vanvalkenburg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2012, 10:26 PM
  7. Extracting strings of text from Columns of data(text)
    By welshmagic69 in forum Excel General
    Replies: 9
    Last Post: 04-23-2007, 02:50 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