View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Excel needs to allow infinite rows and columns.


"JLatham" <HelpFrom @ Jlathamsite.com.(removethis) wrote in message
...
I think we're going to need a bigger computer.

16K * 1M = 16GB just to hold one sheet full of nothing but a single
character in each cell. That's besides overhead to define the sheet and
addresses involved.



Bad practices will create problems in the future just as they always have.


But the addition of more rows was needed, and there have been situations

in
the past when 256 columns wasn't enough - mostly due to lack of foresight

on
my part, and having to transform all the data on a sheet because changes

made
long after the initial design ran me out of columns.


Yes, especially for a whole years of daily data, but did we really need 16K
and 1M?


One thing I've been wondering about is how the extended row numbers will
affect 'standard practice' functions like =Range("A65536").End(xlUp) - are
all of those going to have to change to Range("A1000000").End(xlUp) or I'm
hoping they will provide a constant that is Excel version-conscious to use

to
reference the highest numbered row on a sheet, maybe like Range(A &
xlLastPossibleRow).End(xlUp), where value of xlLastPossibleRow is

determined
by version of Excel.



If you had coded well, you would not have a problem. There has always been a
constant

Range("A" & Rows.Count).End(xlUp)

is future-proof.

Or you could use SpecialCells(xlCellTypeLastCell), now and in future.