Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi-
I am not experienced at writing user functions. I want to put a function in a cell that will retrieve the last call that has a value in another column. My feeble attempts are as follows (One attempt was patterned after another MS post) Function LastValue(lastno As Variant) Dim sysexpcol As Range Set sysexpcol = Range(ad16, ad56) Set lastno = sysexpcol(Cells.Value.xlDown) End Function Function lastvalueincolumn(foundcell As Variant) With Worksheets("analysis").Range("ad:ad") Set foundcell = .Cells.Find.Value.xlDown End With End Function Thanks for your help! Andy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
EXCEL function;find string in entire column & return cell referenc | Excel Worksheet Functions | |||
trying to write function to find data in last row in 1 column | Excel Discussion (Misc queries) | |||
In a column of numbers I need a function to find the last entry | Excel Worksheet Functions | |||
Is there a function in VBA to find out if entire column is empty? | Excel Programming | |||
Function to Find Last Non-Null Entry in a Column | Excel Programming |