LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default stop automatic recalulation when error occurs

In a worksheet I have several user written functions. Several cells are using
this functions. If something is wrong, I get the same error message a number
of times. I want to suppress this, or stopp the recalculation from VBA
programming when the first error occurs.

My first alternative would be to suppress the message. But to do this, I
need to set a global flag that tells the program later that the error message
is shown. But when do I reset the flag from the beginning of the
recalculation?

To stopp the recalculation of the coming cells that need to bee recalculated
using the same function, I need to stop recalculating over all. How can this
be done?

In my excel worksheet, it seems that all my user written functions are
recalculated, even when the criteria of some of them is not changed. Can I do
somethinge to only recalulate those user written functions in cells where
criterias are affected by changes?

Regards DagL
 
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
format cell when a formula error occurs NDBC Excel Discussion (Misc queries) 5 August 18th 09 08:00 AM
#VALUE! error - Occurs when the wrong type of argument or operand Allan Excel Discussion (Misc queries) 1 February 20th 08 05:57 PM
Error 1004 occurs only in specific cases Udo Excel Programming 3 March 3rd 06 12:28 PM
MsgBox when an Error occurs Vick Excel Discussion (Misc queries) 1 December 21st 05 08:48 PM
Auto_add not called, but not found error occurs Robin Hammond Excel Programming 0 October 3rd 03 02:09 AM


All times are GMT +1. The time now is 02:15 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"