+ Reply to Thread
Results 1 to 4 of 4

Opening a data file with over 65000~ rows

  1. #1
    Registered User
    Join Date
    06-19-2009
    Location
    Edmonton, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Opening a data file with over 65000~ rows

    Hello everyone,

    Another day another problem! My problem is that I have to use a macro I have written (with much help from this forum)
    that auto generates charts from data files. The problem I have is I must now use it on data files that will contain more than 65000 rows of data.
    The problem with this is that you can not open a file with that many rows of data in excel. My question to you VBA pros is as follows..

    Is there a way to open the data file in say notepad so I can count the number of rows and make any needed changes (say only take every other data point).
    I am no to worried about make the modifications I am just stumped on how or if I can open the file in some other way before exporting
    it into excel. Also if it helps the files are saved as example.dat if this helps.

    Thank you all again this is one of the most helpful forums I have been on in a very long time!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Opening a data file with over 65000~ rows

    Two answers.

    Get Excel 2007 which copes with over 1000000 rows.

    or use a function like the one below to count the numer of lines in a file.

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Contributor
    Join Date
    02-23-2006
    Location
    Near London, England
    MS-Off Ver
    Office 2003
    Posts
    770

    Re: Opening a data file with over 65000~ rows

    The other (faster) option maybe to not load the data onto a worksheet at all, but rather to open it as per Martin's function and then process the data in an array or similar.
    If you find the response helpful please click the scales in the blue bar above and rate it
    If you don't like the response, don't bother with the scales, they are not for you

  4. #4
    Registered User
    Join Date
    06-19-2009
    Location
    Edmonton, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Opening a data file with over 65000~ rows

    yes thank you martin as getting excel 2007 is not an option I will use your method to count the rows and then manipulate a data array as need.
    Thank you very much I will let you know how it goes.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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