Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It's a nice sunny day and I'm sitting here with no place to go for the
next half hour, so I thought I'd try to engender some controversy over 2 xl "truisms". The first is "There is no Cell (or Cells) object in Excel." I quite understand that it is not documented as such by Microsoft, but my conclusion is that if it looks like an object, waddles like an object and quacks like an object, well . . . . The functionality of Excel seems to treat Cells in every way (except the documentation) as an object with the same properties and methods as any range. Can anyone envision circumstances in which one could go wrong by disbelieving this "truism? The second is "Ranges are not collections". In considering this I spent some time trying to find a concise definition of a collection. I have found a number of discussions and several descriptions, but no concise definition by which one could functionally test the statement. I propose: Collections are container objects whose members are a group of like objects that are accessible by means of the collection's Item Method. With this definition, Range("MyRange") is clearly a collection object, as tested by Range("MyRange").Item(3).Value, which returns the value of the third element of the range. Can anyone envision circumstances in which one could go wrong relying on the above definition? What is a concise alternative? Have a nice day, Alan Beban |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |