MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 21st, 2002, 10:21 AM   #1
tsil
New Member
 
Join Date: Mar 2002
Posts: 33
Default

Hi,
Does anyone know if it is possible to extend the rows to be more then 65000 ?
(I am doing some work on an imported data file which sometimes will need about 80 000 rows.)

regards
/Tommy
tsil is offline   Reply With Quote
Old Mar 21st, 2002, 10:23 AM   #2
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-03-21 09:21, tsil wrote:
Hi,
Does anyone know if it is possible to extend the rows to be more then 65000 ?
(I am doing some work on an imported data file which sometimes will need about 80 000 rows.)

regards
/Tommy
No. Perhaps you should look at Access or any other database system.
Aladin Akyurek is offline   Reply With Quote
Old Mar 21st, 2002, 10:27 AM   #3
dantb
Board Regular
 
Join Date: Mar 2002
Location: Arkansas
Posts: 358
Default

sounds like you nead to store your data in access database, then run a quirie to import your data to your worksheet
dantb is offline   Reply With Quote
Old Mar 21st, 2002, 10:29 AM   #4
Jay Petrulis
MrExcel MVP
 
Jay Petrulis's Avatar
 
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
Default

Hi Tommy,

All versions of Excel since at least Excel 95 have 65,536 rows (2^16). Earlier versions had 16,384 (2^14). This cannot be changed.

For 80K rows, you will either have to:
a) Use Access or another database
b) Use Quattro Pro, which can be configured to 1 million rows
c) Split your data into multiple sheets

You also may be able to load all the data into a multidimensional VBA array at runtime and then only return to the worksheet what you want (difficult).

Regards,
Jay
Jay Petrulis is offline   Reply With Quote
Old Mar 21st, 2002, 10:30 AM   #5
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

You could open your text file and have its contents distributed on multiple worksheets. See http://support.microsoft.com/default...;en-us;Q120596. Obviously, the described macro would need to be updated to reflect Excel's current row limitation -- 65536.
Mark W. is offline   Reply With Quote
Old Mar 21st, 2002, 10:33 AM   #6
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

> You also may be able to load all the data into a multidimensional VBA array at runtime and then only return to the worksheet what you want (difficult).

Jay,

What would be the performance characteristics of doing it this way?

Aladin

Aladin Akyurek is offline   Reply With Quote
Old Mar 21st, 2002, 11:21 AM   #7
Joe Was
MrExcel MVP
 
Joe Was's Avatar
 
Join Date: Feb 2002
Location: Central Florida, USA
Posts: 7,541
Default

If you know the structure of you data you may be able to re-direct parts of your data to different worksheets.

Some time back I had a large dataset and imported it with a simple shift-register. I looked for the code to post, but could not find it at the monent.

My data was comma delineated as a flat file. The import solution was to pull one item at a time. The first item was added to sheet1 and the next item to sheet2 and back again. My data allowed this even and odd import. I do remember that the import took a very long time and the other code which used the data was slowed down considerably as each routine had to pull one row from the first sheet and the next from the other and so on. Some code had problems with the large amount of data, so on additional sheets I built filters for the data and then worked with the reduced filtered data to get around the large data problems. In retrospect no satisfactory solution was ever found to work with the full download? JSW
Joe Was is offline   Reply With Quote
Old Mar 21st, 2002, 12:21 PM   #8
Jay Petrulis
MrExcel MVP
 
Jay Petrulis's Avatar
 
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
Default

Quote:
On 2002-03-21 09:33, Aladin Akyurek wrote:
> You also may be able to load all the data into a multidimensional VBA array at runtime and then only return to the worksheet what you want (difficult).

Jay,

What would be the performance characteristics of doing it this way?

Aladin

Hi Aladin,

I really don't know. I would imagine that if kept entirely within VBA it could be pretty quick.

I am sure it would require some skill that I currently do not have! Some of the array giants would probably need to step in, at least to give me a few pushes.

Dermot Balson's website
http://www.webace.com.au/~balson/Ins...l/Default.html

has some examples where he does everything in a VBA array.

Jay
Jay Petrulis is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes