LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
TK TK is offline
external usenet poster
 
Posts: 177
Default Downloading big datasets daily?

marulo:

Not sure how you are bringing the recordset in but
you could use CopyFromRecordset

CopyFromRecordset looks at the end of file (EOF)
not the row limitation 65,536

So to import more than 65,536 rows you need to tell Excel
where to put the additional records

For example the following would put the first 65,536
records of a four field recordset in columns A B C D
and the balance in columns E F G H

'/Starts at A1
Worksheets("Sheet3").Range("A:A,D:D").CopyFromReco rdset rs

'/If more than 65,536 records you must add a second line

'/Starts at E
Worksheets("Sheet3").Range("E:E,H:H").CopyFromReco rdset rs

Good Luck
TK


"marulo" wrote:

...............
So far so good....The problem is that the website now provides a table with
more than 65536 observations [maximum allowed by my MS Excel 2002 SP1].
Therefore, I am missing a part of the dataset I need...
2) What if I set the web query in excel to split the dataset in pieces of
60K or less lines and place them in different parts of the file?

Any suggestion?

Thanks in advance









 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtotals in very large datasets heather Excel Worksheet Functions 5 June 4th 09 05:26 AM
HOW DO I FREEZE DATA THAT CHANGES DAILY. dAILY/MONTHLY BUDGET mike64149 Excel Discussion (Misc queries) 4 September 22nd 08 08:11 PM
sorting datasets on two rows anyole Excel Worksheet Functions 4 July 1st 08 07:31 PM
Linking Daily Worksheet To Daily Invoice Total KJames Excel Worksheet Functions 1 March 18th 07 11:01 AM
owc next version must support datasets Sarfraz Ahmed[_2_] Excel Programming 1 March 9th 05 12:55 PM


All times are GMT +1. The time now is 09:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"