+ Reply to Thread
Results 1 to 2 of 2

Cell wont calculate automaticaly

Hybrid View

Guest Cell wont calculate... 07-14-2005, 11:05 AM
Guest RE: Cell wont calculate... 07-14-2005, 01:05 PM
  1. #1
    Karim Kamal
    Guest

    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. #2
    K Dales
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1