Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
one way: use the column as range parameter in your function or add the line application.volatile at the beginning of your function Note: As you don't use a cell/range reference in your function as parameter Excel does not know if it should re-calculate the function if something in column 2 changes. -- Regards Frank Kabel Frankfurt, Germany Hawki wrote: I have created a function that returns a range. The function is called getRange(intColumn as Integer). I use it in in a worksheet function as follows in cell A1: =count(getRange(2)) It works when I type in the function, but when I make changes on the worksheet, cell A1 is NOT updated accordingly. It appears as if the cell is NOT re- evaluating the getRange(2) when the worksheet is updated. Any help would be appreciated. TIA... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to? custom worksheet function using VBA | New Users to Excel | |||
Custom Function not updating | Excel Worksheet Functions | |||
Custom Function not updating | Excel Worksheet Functions | |||
Need help with automating the updating of a function in worksheet | Excel Worksheet Functions | |||
Worksheet Name as argument in Custom Function | Excel Programming |