Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Anyone know how to simply find the maximum non-blank row in a specific
range? I found this =(MAX((DataRange2<"")*ROW(DataRange2)))-ROW(DataRange2)+1 on Chip Pearson's web site but it's not exactly what I need. I adapted it a bit because I need the result to be variable which I will use in my VB code versus a static cell on the worksheet. What I tried I have below but it doesn't work right yet. MaxRow = FormulaArray((Application.WorksheetFunction.Max((" U5:AU25" < "") * Application.Rows("U5:AU25"))) - Rows("U5:AU25") + 1). It seems like there should be a simple way (like this?) to do this. Thanks for your help. Chet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search for specific text within last non blank cell in a range | Excel Worksheet Functions | |||
Maximum Number of Blank Cells between Non Blank Cells in a Range | Excel Worksheet Functions | |||
How can i sum a range of cells ( Variable ) in a specific cell | Excel Programming | |||
variable - insert blank row/select range | Excel Programming | |||
Maximum value of two variable | Excel Programming |