How many rows can VB import (VB6 + VB Net)

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

How many rows can VB import (VB6 + VB Net)

Post by steveh »

Morning all

We have a bespoke software package that is written in VB6 which will eventually be migrated to VB.NET (2012). If I am running a 13 month report Excel fails to import all of the data, the programmer says that this is because of a limitation in all versions of VB, this is what he says

"Excel has a limit of 32756 rows when being fed from a 3 party routine such as VB (even with .Net, I've just checked !) so next best option would be to run 2 run 2 reports and manually concatenate them."

We are just a SME how do the big boys with lots of data get around this or is he in error with his findings above?
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78493
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How many rows can VB import (VB6 + VB Net)

Post by HansV »

We'd have to know:
- What is the format of the data you want to import? (A text file, an Access database, ...)
- What method does the programmer use to import the data into Excel?
- Are you using .xls or .xlsx format?
Best wishes,
Hans

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

Re: How many rows can VB import (VB6 + VB Net)

Post by steveh »

HansV wrote:We'd have to know:
- What is the format of the data you want to import? (A text file, an Access database, ...)
- What method does the programmer use to import the data into Excel?
- Are you using .xls or .xlsx format?
Hi Hans

thanks for the reponse, he has however just called me to say that he had made a mistake and the limitation was the 65536 rows in Excel 97-2003 and that he had coded something incorrectly
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78493
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How many rows can VB import (VB6 + VB Net)

Post by HansV »

OK, thanks for the update.
Best wishes,
Hans