Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Custom functions not updating when dependant cells are edited

Hi

I have a problem where I use a custom function that analyses data in other
cells. When the contents of the other cells are edited the cell that uses the
custom function does not automatically update. The only way that it updates
is if you click on the cell then click on the function and click enter again.

Is there a way that the result of the cell with the custom function can
automatically update when the other cells are edited?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default Custom functions not updating when dependant cells are edited

The best way is to pass the "other cells" range as an argument to the function.

Another way is to make that function "volatile" by adding this line to it:
application.volatile
But it will recalculate at EVERY change made to the workbook...
--
Regards,
Luc.

"Festina Lente"


"Hamish" wrote:

Hi

I have a problem where I use a custom function that analyses data in other
cells. When the contents of the other cells are edited the cell that uses the
custom function does not automatically update. The only way that it updates
is if you click on the cell then click on the function and click enter again.

Is there a way that the result of the cell with the custom function can
automatically update when the other cells are edited?

Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
Use functions when cells are merged Amanda Excel Worksheet Functions 3 September 12th 05 06:08 PM
Cells not updating Shaggyjh Excel Worksheet Functions 4 April 22nd 05 02:54 PM
pasting or moving formula cells without updating formulas jake Excel Discussion (Misc queries) 2 April 14th 05 01:02 PM
Custom Function not being auto calculated when cells change..help? Alex Wolff Excel Worksheet Functions 4 March 22nd 05 07:06 PM


All times are GMT +1. The time now is 05:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"