ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   overflow-how big a file can Excel handle? (https://www.excelbanter.com/excel-programming/333579-overflow-how-big-file-can-excel-handle.html)

John Smith

overflow-how big a file can Excel handle?
 
When trying to run a vb script, I got an error message saying
overflow. The file is about 4 Mb with about 35900 rows and 6
columns. I had to cut half of the rows and pasted them to a new
file. Then, the script ran without problems. It seems to me that
Excel hit a limit on the file size, row number or something.

I wonder if the problem is due to my computer or Excel. Anyone has
any idea?

keepITcool

overflow-how big a file can Excel handle?
 

"overflow" is generally more a variable than a memory problem.

e.g. using an integer to loop thru ranges...
will error out at 32k (the maximum positive value of an integer.

change variable to a long should fix it.



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


John Smith wrote :

When trying to run a vb script, I got an error message saying
overflow. The file is about 4 Mb with about 35900 rows and 6
columns. I had to cut half of the rows and pasted them to a new
file. Then, the script ran without problems. It seems to me that
Excel hit a limit on the file size, row number or something.

I wonder if the problem is due to my computer or Excel. Anyone has
any idea?


Jim Thomlinson[_4_]

overflow-how big a file can Excel handle?
 
Everything you ever wanted to know but were affraid to ask..

http://www.decisionmodels.com/index.htm
--
HTH...

Jim Thomlinson


"John Smith" wrote:

When trying to run a vb script, I got an error message saying
overflow. The file is about 4 Mb with about 35900 rows and 6
columns. I had to cut half of the rows and pasted them to a new
file. Then, the script ran without problems. It seems to me that
Excel hit a limit on the file size, row number or something.

I wonder if the problem is due to my computer or Excel. Anyone has
any idea?



All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com