Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I’ve thought about this one for a while, but haven’t been able to reason out why. Haven’t found anything in the groups that quite addresses this. Hopefully someone can straighten me out. Set r = Range("A1:C3") r.Count returns number of cells (9) Set r2 = Intersect(r, Rows(1)) r2.Count returns number of cells (3) but Set r2 = r.Rows(1) Now, r2.Count returns number of rows (1) I now have to specify cells to get the cell count r2.Cells.Count returns number of cells (3) Thanks for your help, regards, Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count how many different cells are in a range | Excel Discussion (Misc queries) | |||
Count a range of cells using an IF | Excel Worksheet Functions | |||
Count Empty Cells in Range After Cells with Data | Excel Programming | |||
Count Cells in Range | Excel Programming | |||
Count cells in one range based on parameters in another range | Excel Worksheet Functions |