Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
can anyone tell me why I cannot get user defined functions
that are called from a worksheet formula to recalculate when the spreadsheet updates please? Cheers Andy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
After the first line of the function put:
Application.Volatile True to have it calculate when ws calculates. Bob Umlas Excel MVP "Andy Ives" wrote in message ... can anyone tell me why I cannot get user defined functions that are called from a worksheet formula to recalculate when the spreadsheet updates please? Cheers Andy |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Bob. I'll give that a try.
Andy -----Original Message----- After the first line of the function put: Application.Volatile True to have it calculate when ws calculates. Bob Umlas Excel MVP "Andy Ives" wrote in message ... can anyone tell me why I cannot get user defined functions that are called from a worksheet formula to recalculate when the spreadsheet updates please? Cheers Andy . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel recalculates UDFs when one of their input arguments change or when
they are volatile. Best solution is to put all the cells etc that are referenced by the UDF as arguments to the function. That way the function only gets recalculated when it needs to. next best (but simplest) is to add application.volatile which makes the function always recalculate even when it does not need to. regards Charles ______________________ Decision Models FastExcel Version 2 now available. www.DecisionModels.com/FxlV2WhatsNew.htm "Andy" wrote in message ... Thanks Bob. I'll give that a try. Andy -----Original Message----- After the first line of the function put: Application.Volatile True to have it calculate when ws calculates. Bob Umlas Excel MVP "Andy Ives" wrote in message ... can anyone tell me why I cannot get user defined functions that are called from a worksheet formula to recalculate when the spreadsheet updates please? Cheers Andy . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Defined Functions | Excel Worksheet Functions | |||
User Defined Functions | Excel Worksheet Functions | |||
user defined functions | Excel Programming | |||
excel functions and User defined functions | Excel Programming | |||
User Defined Functions | Excel Programming |