Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell wont calculate automaticaly

After running a long macro a cell containing this formula:

"=SI(C148=0;0;Interest_Rate(H16*12;C150;(C68+C101) ))"

(SI is IF in french excel)

wont calculate automaticaly anymore! I tried adding "Calculate" at the end
of the Macro and pressing "F9" for recalculation of the whole workbook and
neither worked. I have to go in the formula field and press enter manualy for
the cell to recalculate. The calculation mode is set to automatic!

Anyone have an idea??

thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Cell wont calculate automaticaly

You probably need to specify that your function Interest_Rate() should be
included in recalculation; you do that with Application.Volatile in the code.

"Marks a user-defined function as volatile. A volatile function must be
recalculated whenever calculation occurs in any cells on the worksheet. A
nonvolatile function is recalculated only when the input variables change.
This method has no effect if it's not inside a user-defined function used to
calculate a worksheet cell."

--
- K Dales


"Karim Kamal" wrote:

After running a long macro a cell containing this formula:

"=SI(C148=0;0;Interest_Rate(H16*12;C150;(C68+C101) ))"

(SI is IF in french excel)

wont calculate automaticaly anymore! I tried adding "Calculate" at the end
of the Macro and pressing "F9" for recalculation of the whole workbook and
neither worked. I have to go in the formula field and press enter manualy for
the cell to recalculate. The calculation mode is set to automatic!

Anyone have an idea??

thanks in advance!

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
excel wont calculate john mcmichael Excel Discussion (Misc queries) 1 October 18th 05 05:18 PM
wont calculate john mcmichael Excel Discussion (Misc queries) 1 August 12th 05 03:56 PM
Cell wont calculate automaticaly! krhyme Excel Programming 2 July 14th 05 03:48 PM
goal seek wont calculate an accurate value past 3 decimal places Joe Browning Excel Discussion (Misc queries) 1 April 13th 05 07:29 AM
Cell does not calculate automaticaly Pete Excel Discussion (Misc queries) 3 December 13th 04 11:56 PM


All times are GMT +1. The time now is 09:50 AM.

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"