Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Return cell adress for next non-blank cell in a range
Please help: How can i programmatically lookup the cell adress for next non-blank cell in a range? Toreadore -- toreadore ------------------------------------------------------------------------ toreadore's Profile: http://www.excelforum.com/member.php...o&userid=35850 View this thread: http://www.excelforum.com/showthread...hreadid=556407 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Return cell adress for next non-blank cell in a range
This UDF returns the cell address of the first non-blank cell in a range:
Function nonblank(R As Range) As String Dim rr As Range nonblank = "" For Each rr In R If IsEmpty(rr.Value) Then Else nonblank = rr.Address Exit Function End If Next End Function -- Gary's Student "toreadore" wrote: Please help: How can i programmatically lookup the cell adress for next non-blank cell in a range? Toreadore -- toreadore ------------------------------------------------------------------------ toreadore's Profile: http://www.excelforum.com/member.php...o&userid=35850 View this thread: http://www.excelforum.com/showthread...hreadid=556407 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Return blank cell if 'find' statement not true | Excel Worksheet Functions | |||
VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
checking that cells have a value before the workbook will close | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions |