How can I add Application.Volatile to my user defined formular ?
J JE McGimpsey Jul 12, 2004 #2 You can add Application.Volatile to a User Defined Formula/Function by entering in on its own line in the code. Public Sub foo() Application.Volatile 'Existing code End sub If you're unfamiliar with User Defined Functions, see David McRitchie's "Getting Started with Macros and User Defined Functions": http://www.mvps.org/dmcritchie/excel/getstarted.htm
You can add Application.Volatile to a User Defined Formula/Function by entering in on its own line in the code. Public Sub foo() Application.Volatile 'Existing code End sub If you're unfamiliar with User Defined Functions, see David McRitchie's "Getting Started with Macros and User Defined Functions": http://www.mvps.org/dmcritchie/excel/getstarted.htm
F Frank Kabel Jul 12, 2004 #3 Hi just simply insert this as the first line in your function e.g. function your_function() application.volatile 'your existing code end function
Hi just simply insert this as the first line in your function e.g. function your_function() application.volatile 'your existing code end function