+ Reply to Thread
Results 1 to 3 of 3

Name range not updating

  1. #1
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Name range not updating

    Hi all,

    I've got a spreadsheet that has a named range and is hidden. Sometimes it won't auto update unless you click into the cell which contains the formula

    The Auto calc is on so can't understand why it won't update. Happens with all users of the spreadsheet

    Any tips of advise welcome

    VBA Noob

  2. #2
    Niek Otten
    Guest

    Re: Name range not updating

    My standard list:

    =========================================================
    Cells not calculating (correctly)
    Niek Otten, March 31, 2006

    Most frequent causes:

    1. Calculation is set to Automatic. This often happens unintentionally, for example by opening another workbook first.
    Calculation is an Excel-wide setting; the first workbook opened determines the calculation mode, which then applies to all
    open workbooks and workbooks that are opened later in that instance of Excel. It can be changed manually (again, for all open
    workbooks):
    Tools>Options>Calculation tab, check Automatic.
    2. There are User Defined Functions (UDFs) which access cells directly from within the function, that is, not via the
    argument list. Then Excel is not aware of the need of recalculation if the precedent cell changes. You can include
    Application.Volatile in the function, but there is no guarantee this will always calculate cells in the correct sequence in all
    (future) versions of Excel. It also causes the calling cells (and dependents) to always be recalculated, even if not necessary.
    Really the best way is to include all precedent cells in the argument list.
    3. You see the formulas in the cell, not the answers. Two options: a. Tools>Options>View, Formulas is checked (you may
    accidentally have hit the shortcut key: CTRL+`), b. the cell was formatted as text before you entered the formula. Format as
    General and re- enter (F2, ENTER). If it's about many formulas, select them, Find and replace "=" by "=". That's more or less the
    same as re-entering them.
    4. Excel version 5.0a (yes, very, very old!) has serious recalculation bugs, Excel 97 absolutely needs Service Pack 2
    (SP2) to calculate correctly.
    5. Very, very rarely, Excel's dependency tree gets messed up. One way to rebuild it is to find and replace all "=" by
    "=", for all sheets (for Excel, this is like re-entering all formulas). Later versions of Excel rebuild by pressing
    CTRL+ALT+SHIFT+F9
    6. For many calculation secrets, visit Charles William's site:
    www.decisionmodels.com
    =========================================================


    --
    Kind regards,

    Niek Otten
    Microsoft MVP - Excel

    "VBA Noob" <[email protected]> wrote in message
    news:[email protected]...
    |
    | Hi all,
    |
    | I've got a spreadsheet that has a named range and is hidden. Sometimes
    | it won't auto update unless you click into the cell which contains the
    | formula
    |
    | The Auto calc is on so can't understand why it won't update. Happens
    | with all users of the spreadsheet
    |
    | Any tips of advise welcome
    |
    | VBA Noob
    |
    |
    | --
    | VBA Noob
    | ------------------------------------------------------------------------
    | VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
    | View this thread: http://www.excelforum.com/showthread...hreadid=567849
    |



  3. #3
    Registered User
    Join Date
    11-23-2019
    Location
    Mogadishu
    MS-Off Ver
    365
    Posts
    1

    Re: Name range not updating

    Quote Originally Posted by VBA Noob View Post
    Hi all,

    I've got a spreadsheet that has a named range and is hidden. Sometimes it won't auto update unless you click into the cell which contains the formula

    The Auto calc is on so can't understand why it won't update. Happens with all users of the spreadsheet

    Any tips of advise welcome

    VBA Noob
    Hi,
    I understand an old thread, but you will never know someone might find it useful.
    Using the vba coding, you may want to set the event to True in addition to the Automatic calculation.

    Sub kapi()

    Application.EnableEvents = True

    End Sub

+ 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