Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Excel 12 - finding the last row

I've read that in the next version of Excel, there will be 1.1 million rows.
Now one of the most common methods to find the last row is:

lastRow = Cells(Application.Rows.Count, 1).End(xlUp).Row

Counting 1.1 million rows will take a longer time than counting 65,336 rows.
So will the above still be good technique?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Excel 12 - finding the last row

Hi Shatin,

Counting 1.1 million rows will take a longer time than counting 65,336 rows.
So will the above still be good technique?


I don't think it will make much of a difference.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Excel 12 - finding the last row

Hi Shatin,

I've read that in the next version of Excel, there will be 1.1
million rows.


where did you read this? can you post a link?


Now one of the most common methods to find the last row
is:


Personally, I do not like all this xlup/down-and-wherever stuff.
Either you know where you are/how many records you have or not. I never
fill an excel sheet with data without knowing how many records there
are and in what cell I am at the moment, so I never needed to use these
"guess where the file ends but please treat empty cells correctly"
functions. But that's only my opinion, and for sure, I am totally wrong
;)

arno

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Excel 12 - finding the last row

I've read that in the next version of Excel, there will be 1.1
million rows.


where did you read this? can you post a link?


http://blogs.msdn.com/excel/

Probably the most common question the Excel team gets from our customers is
"when are you going to add more rows/more columns/more rows and more
columns". There are many different scenarios behind these requests. Some
customers want to be able to analyze more data than Excel has rows, some
customers want to track more daily information than Excel has columns, and
other customers want to perform matrix math on large matrices of thousands
of elements. There are plenty of other scenarios too. Well, the answer to
the question is "in Excel 12." Specifically, the Excel 12 grid will be
1,048,576 rows by 16,384 columns. That's 1,500% more rows and 6,300% more
columns than in Excel 2003, and for those of you that are curious, columns
now end at XFD instead of IV.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Excel 12 - finding the last row

"arno" skrev i melding
...
Hi Shatin,

I've read that in the next version of Excel, there will be 1.1
million rows.

where did you read this? can you post a link?


http://blogs.msdn.com/excel/default.aspx

Now one of the most common methods to find the last row
is:

Personally, I do not like all this xlup/down-and-wherever stuff.
Either you know where you are/how many records you have or not.


It is for use in the "not" cases. Pretty useful actually, you can write code
that works for multiple different files..

HTH. Best wishes Harald




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Excel 12 - finding the last row

Thanks for the links!

I already asked my favorite question...
(when will password protected projects be password protected)

arno
:)


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel 12 - finding the last row

It should be.

--
Regards,
Tom Ogilvy

"Shatin" wrote in message
...
I've read that in the next version of Excel, there will be 1.1 million

rows.
Now one of the most common methods to find the last row is:

lastRow = Cells(Application.Rows.Count, 1).End(xlUp).Row

Counting 1.1 million rows will take a longer time than counting 65,336

rows.
So will the above still be good technique?





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
Excel finding top of range NassauLIMan Excel Discussion (Misc queries) 1 November 19th 09 10:35 PM
Finding 2 or more words in excel golden Excel Discussion (Misc queries) 7 August 21st 09 04:38 PM
EXCEL 2003 IS NOT FINDING MY EXCEL 2000 FILES FROM A CD jrm-1935 Excel Discussion (Misc queries) 4 January 27th 06 07:41 PM
Finding a function in Excel JSK Excel Worksheet Functions 1 August 18th 05 09:59 PM
Finding an Excel value using one repeating & another value? Joe R. Excel Worksheet Functions 1 August 17th 05 01:54 PM


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

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

About Us

"It's about Microsoft Excel"