+ Reply to Thread
Results 1 to 15 of 15

Excel Not calculating issue on one workbook

  1. #1
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Question Excel Not calculating issue on one workbook

    I am having a strange problem that is occurring on an excel workbook that has quite a bit of VB code in it. The formulas will not calculate. If I go into options, then formulas, Automatic will be on manual. I then check automatic, go back and the formulas still do not update. IF I use the Ctrl, Alt, Shift and F9 keys it will update. Then I close and save the file, come back and the option/formula settings is back at manual again. Other workbooks that I have code in work fine.

    Does anyone have any idea what might be going on?
    Last edited by dentler; 04-06-2020 at 04:52 PM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Excel Not calculating issue on one workbook

    Just checking automatic won't do it, you press F9 to do the calculations.
    What happens when you save the file close it AND Excel and then reopen it, is Automatic still on?
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Re: Excel Not calculating issue on one workbook

    No.. I can force the calculations manually but if I set it to automatic, save and close the file, as soon as it is reopened, it has switched back to manual.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Excel Not calculating issue on one workbook

    Have you checked all VBA to ensure that the manual calculation has not been set in some code. Perhaps in the On Open Event? Or the Before Save Event?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Re: Excel Not calculating issue on one workbook

    I had inserted "calculate" in some vb code and went back through and commented all of it out to see if that helped.. It did not. I have found multiple links regarding this issue where many people have had similar problems. One suggestion was to place the following in your workbook"
    Please Login or Register  to view this content.
    I did this and it still does not work. The following is an extensive thread that others have had the same problem

    https://answers.microsoft.com/en-us/...eea812e?page=1

    Even thought this is an old link, the problem has continued throughout many newer versions of Excel. I was running excel 2016 and upgraded to excel 2019. I also tried the last solution in the link above and it still does not work. I hope enclosing that link in "" is not an issue, I am just relaying what have research, found, tried, and yet the problem still exist.
    Last edited by AliGW; 04-06-2020 at 06:16 PM. Reason: Make link work.

  6. #6
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Excel Not calculating issue on one workbook

    Hi there,

    For what it's worth, I upgraded a (very useful!) freeware Add-In to the latest version, which the author had inadvertently saved with manual calculation enabled before distributing it. You can imagine how many "problem workbooks" were created as a result!

    It took me quite a while to identify the source of the problem, and when I informed the author about it, an updated (automatic calculation) version was made available immediately.

    The problem was solved by opening each "problem workbook" in turn, setting its calculation mode to automatic, and then saving it. The problems never returned.

    As I said, just for information.

    Regards,

    Greg M

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Excel Not calculating issue on one workbook

    That’s what I’m thinking too, there’s either an addin that is triggered setting it back to manual
    Anyway your vba code net to setting it back to automatic also needs the code to calculate
    Check for hell the syntax it’s something like Application and calculate full

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Excel Not calculating issue on one workbook

    The syntax I was looking for:

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Re: Excel Not calculating issue on one workbook

    Do you remember the name of the add-in or a link to where you got it?

  10. #10
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Re: Excel Not calculating issue on one workbook

    I tried the
    Please Login or Register  to view this content.
    No change, still have the same problem, but thank you.

  11. #11
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Excel Not calculating issue on one workbook

    Try and think back, follow dentler's suggestion.
    Excel does only what you or someone told it to do (like all computers)

  12. #12
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Re: Excel Not calculating issue on one workbook

    Presently, I am backwards engineering the changes that I have made since the problem began. I have a known good wkbook that does all the calculations and retains the Automatic Calculation settings that was created on 040120. Luckily I try to keep copies of each workbook after each days changes. Since that time, I have modified two worksheets, and changed code in 8 modules.

    Today, so far, I have made changes to two worksheets in the known good workbook and removed four modules and imported the same four modules from the workbook with the issue. So far, so good, everything is working fine. The next four modules have some extensive edits, so I will see how that goes.

    This is an approach I have used in the past to correct issues, but I have never had quite the number of changes between workbooks. Two of the modules I will try next, does use power query, one for export to csv and the other import from csv files. If after completing this process everything works, then my only guess would be some sort of file corruption in the workbook with bad code. I will update later. In the meantime, thanks again for all the suggestions. Isn't troubleshooting code "FUN" ..!

  13. #13
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Excel Not calculating issue on one workbook

    What’s the settings when you just open excel ?
    Have you checked that?
    Personal macro ook?
    Another thing you can do is copy all the addins from the addin folder to another location with excel closed; then Open excel and delete those addins.
    Now you can go to that folder and double click one of the addins and check your settings
    Repeat with each addin
    If all Is normal you can Reinstall the addins as you would normally

  14. #14
    Forum Contributor
    Join Date
    01-08-2017
    Location
    Salt Lake City, Ut.
    MS-Off Ver
    2019 and 365
    Posts
    135

    Smile Re: Excel Not calculating issue on one workbook

    Well, I removed and imported the remaining four modified modules. I also forgot about some edits I had made to the monthly sheets, but basically reduplicated the original changes. Everything is working fine. So all that I can deduct is that somewhere along the way the initial file I was working on got corrupted. I do remember a couple of times where the code hung up and I had to kill the process, and one time if I remember correctly I may have had to use task manager to end excel. So those may have caused the issue. However I am back to where I want to be... YEAH !!!!

  15. #15
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Excel Not calculating issue on one workbook

    Great
    Patience is the work and perseverance

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Calcualting Only Visable (Filtered) Data?
    By artiststevens in forum Excel General
    Replies: 2
    Last Post: 12-24-2016, 03:06 AM
  2. [SOLVED] SUMIF calcualting zero but don't want zero to show
    By szp in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-07-2013, 05:07 PM
  3. Calcualting Interest and keeping a reducing balance
    By beeky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2009, 06:50 PM
  4. Formula for calcualting qty at given std size.
    By gene-stevo in forum Excel General
    Replies: 3
    Last Post: 11-02-2007, 07:46 AM
  5. Excel 2003 Workbook Issue
    By daveszt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-01-2005, 10:05 AM
  6. problem with calcualting
    By eggandbacon in forum Excel General
    Replies: 2
    Last Post: 03-21-2005, 02:23 PM
  7. [SOLVED] Pivot table. Calcualting % from subtotals.
    By Ray D in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2005, 09:06 AM

Tags for this Thread

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