Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
perhaps
lastrow=cells(rows.count,"a").end(xlup).row or lastrow=cells(activecell.row,activecell.column).en d(xlup).row -- Don Guillett Microsoft MVP Excel SalesAid Software "Marie" wrote in message ... I want to be able to enter a formula into the spreadsheet which counts the number of entries in a range. However the range can be a variable number of rows. It will however always refer to the row which is end(xlup) from the cell containing the formula (ie my start point - the activecell) and it will always anchoring from this pount to end(xlup) twice then down one cell. So basically i am wanting to enter a number of formulas in various parts of the spreadsheet which are never in the same location -counta(End(xlup):(End(xlup)end(xlup)(down)) are my key strokes - but can not see how to replicate this in VBA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Edit formula while entering Excel 2000 | Excel Discussion (Misc queries) | |||
Entering a formula using excel 2003 | Excel Worksheet Functions | |||
I am entering date in Excel when I hit enter a formula appears? | New Users to Excel | |||
entering formula using variable in Excel Macro | Excel Programming | |||
Entering a Excel formula in a Cell through VBA? | Excel Programming |