Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Row and column count last occupied cells in range
In VBA for a named range, I need to return:
row count, last occupied cell column count, last occupied cell Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Row and column count last occupied cells in range
hi,
rw = Evaluate("MAX(IF(" & [rng].Address & "<"""",row(" & [rng].Address & ")))") cmn = Evaluate("MAX(IF(" & [rng].Address & "<"""",column(" & [rng].Address & ")))") -- isabelle Le 2012-04-28 08:21, T2B a écrit : In VBA for a named range, I need to return: row count, last occupied cell column count, last occupied cell Thanks. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Row and column count last occupied cells in range
r = activesheet.usedrange,row
c = activesheet.usedrange.column /Tommy On 28 Apr., 16:11, isabelle wrote: hi, rw = Evaluate("MAX(IF(" & [rng].Address & "<"""",row(" & [rng].Address & ")))") cmn = Evaluate("MAX(IF(" & [rng].Address & "<"""",column(" & [rng].Address & ")))") -- isabelle Le 2012-04-28 08:21, T2B a écrit : In VBA for a named range, I need to return: row count, last occupied cell column count, last occupied cell Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count cells in column that contain number in a range | Excel Worksheet Functions | |||
Find next occupied row up in another column | Excel Worksheet Functions | |||
Excel, how to count every 4th cell in column to see if occupied? | Excel Worksheet Functions | |||
how to count the number of occupied columns in a sheet? | Excel Programming | |||
Count cells based on date range in another column | New Users to Excel |