#1   Report Post  
Old June 14th 08, 04:52 AM posted to microsoft.public.excel.setup
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2008
Posts: 1
Default More Than 65,530 Rows

I need to download some Data that contains more than 65,530 Rows. Is there a
way to do this??? Increase the number of rows or have the data entered on
more that one worksheet???

  #2   Report Post  
Old June 14th 08, 11:25 AM posted to microsoft.public.excel.setup
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 11,058
Default More Than 65,530 Rows

You can:

1. use Excel 2007
2. import the data into multiple tabs
--
Gary''s Student - gsnu200791


"SteveGuno" wrote:

I need to download some Data that contains more than 65,530 Rows. Is there a
way to do this??? Increase the number of rows or have the data entered on
more that one worksheet???

  #3   Report Post  
Old June 14th 08, 02:50 PM posted to microsoft.public.excel.setup
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 3,440
Default More Than 65,530 Rows

Use this macro from Bernie Deitrick.

If you're new to macros: instructions at the end of the post

--
Kind regards,

Niek Otten
Microsoft MVP - Excel



' ================================================== =========
' Importing a large file into Excel. File MAY have more than 65,000 records
' and will automatically start a new sheet.


Sub LargeFileImport()
'Bernie Deitrick's code for opening very large text files in Excel
'Dimension Variables
Dim ResultStr As String
Dim FileName As String
Dim FileNum As Integer
Dim Counter As Double
'Ask User for File's Name
FileName = Application.GetOpenFilename
'Check for no entry
If FileName = "" Then End
'Get Next Available File Handle Number
FileNum = FreeFile()
'Open Text File For Input
Open FileName For Input As #FileNum
'Turn Screen Updating Off
Application.ScreenUpdating = False
'Create A New WorkBook With One Worksheet In It
Workbooks.Add Template:=xlWorksheet
'Set The Counter to 1
Counter = 1
'Loop Until the End Of File Is Reached
Do While Seek(FileNum) <= LOF(FileNum)
'Display Importing Row Number On Status Bar
Application.StatusBar = "Importing Row " & Counter & " of text file " _
& FileName
'Store One Line Of Text From File To Variable
Line Input #FileNum, ResultStr
'Store Variable Data Into Active Cell
If Left(ResultStr, 1) = "=" Then
ActiveCell.Value = "'" & ResultStr
Else
ActiveCell.Value = ResultStr
End If
If ActiveCell.Row = 65536 Then
'If On The Last Row Then Add A New Sheet
ActiveWorkbook.Sheets.Add
Else
'If Not The Last Row Then Go One Cell Down
ActiveCell.Offset(1, 0).Select
End If
'Increment the Counter By 1
Counter = Counter + 1
'Start Again At Top Of 'Do While' Statement
Loop
'Close The Open Text File
Close
'Remove Message From Status Bar
Application.StatusBar = False
End Sub

' ================================================== =========

Copy the text of the macro
Go to Excel
Press ALT+F11; this starts the VB Editor
InsertModule
Paste the macro into the module
Press ALT+F11 to return to Excel
Run the macro from the ToolsMacro menu



"SteveGuno" wrote in message ...
|I need to download some Data that contains more than 65,530 Rows. Is there a
| way to do this??? Increase the number of rows or have the data entered on
| more that one worksheet???


  #4   Report Post  
Old June 30th 08, 11:24 PM posted to microsoft.public.excel.setup
external usenet poster
 
First recorded activity by ExcelBanter: Sep 2006
Posts: 3,365
Default More Than 65,530 Rows

If the data is in a file structured like a typical CSV (comma separated
values) file, then you can probably use this workbook that I wrote to import
the data into multiple sheets. An alternative to what Niek Otten offered.
http://www.jlathamsite.com/uploads/I...RowsOfData.xls

CSV type files can also have filenames that end with .csv, .txt and
sometimes .dat. The file linked to allows you to define the layout of the
file to be read. If my .xls file can read it, you'll also be able to open
the data file and view it using Notepad or Wordpad to get an idea of how its
structured. If you open it with one of those and it looks like total junk,
then my file probably won't work for you.

"SteveGuno" wrote:

I need to download some Data that contains more than 65,530 Rows. Is there a
way to do this??? Increase the number of rows or have the data entered on
more that one worksheet???



Reply
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
Copy rows of data (eliminating blank rows) from fixed layout Sweepea Excel Discussion (Misc queries) 1 March 13th 07 11:05 PM
How do I view the maximum rows in Excel 2007 (Million Rows)? shanth Excel Discussion (Misc queries) 2 January 15th 07 05:45 PM
Excel 2003 -Rows hidden. Scrolling unhides rows ! How do I stop th Excellent1975 Excel Discussion (Misc queries) 0 June 21st 06 08:01 PM
Pivot Tables: How do I show ALL field rows, including empty rows?? [email protected] Excel Worksheet Functions 2 April 8th 05 06:21 PM
Can Excel "slide up" rows with content thru empty rows to condense portly44 Excel Worksheet Functions 2 April 1st 05 12:47 AM


All times are GMT +1. The time now is 01:17 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017