![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Oregon
Posts: 77
|
Once I hit the upper limit of rows is there a way to add more?
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
No -- 65,536 is the row limit for a worksheet.
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
|
Simply put NO! Sorry
Check the help files for: limits in Microsoft Excel
__________________
"Have a good time......all the time" Ian Mac |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Location: Oregon
Posts: 77
|
Thanks guys. I will find an alternative way to list the data then.
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Posts: 3,065
|
Add options
If over 65536 suggest looking at proper database ie Access and pull data into Excel as needed or required. Also suggest splitting over more than just the one sheet... any help? BTW only Spreadsheet i know more than 65536 are SUN and Loyus 123 have a million rows.....
__________________
Free Excel based Web Toolbar available here. Jack in the UK J & R Excel Solutions "making Excel work for you" |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Location: South UK
Posts: 344
|
cornbread
Try this I can't remember where I got it but when I do Ill publish the author because he deserves a mention, the macro basically creates a new sheet once it reaches the maximum no of rows, please ignore the lines prefixed with an * they are other macros I launch from this one. hope it helps Kevin Sub ImportBigText() Dim ResultStr As String Dim FileName As String Dim FileNum As Integer Dim Counter As Double FileName = InputBox("Please enter the Text File's name, e.g. test.txt") 'If Error Then End If FileName = "" Then End FileNum = FreeFile() Open FileName For Input As #FileNum Application.ScreenUpdating = False Workbooks.Add template:=xlWorksheet Counter = 1 Do While Seek(FileNum) < LOF(FileNum) Application.StatusBar = "Importing Row " & _ Counter & " of text file " & FileName Line Input #FileNum, ResultStr If Left(ResultStr, 1) = "=" Then ActiveCell.Value = "'" & ResultStr * EditTheHeader * InsertColandCalcQty * WorkTimes * RemoveCharatEOF * ClrSpaces Else ActiveCell.Value = ResultStr End If If ActiveCell.Row = 65536 Then ActiveWorkbook.Sheets.Add Else ActiveCell.Offset(1, 0).Select End If Counter = Counter + 1 Loop Close Application.StatusBar = False End End Sub [ This Message was edited by: swaink on 2002-04-05 12:10 ] |
|
|
|
|
|
#7 |
|
New Member
Join Date: Mar 2002
Posts: 24
|
In addition to UK Jack's response, if you store the data in an Access Database(or Oracle, DB2, etc), you can create a pivot table that uses ODBC to link to the DB. This way your pivot table has access to the entire data set. If this is a direction you'd like to go, just post any questions.
Will [ This Message was edited by: wcassell on 2002-04-05 12:30 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|