+ Reply to Thread
Results 1 to 4 of 4

Excel 365 after Save As - calculation not working automatically until a change is detected

  1. #1
    Registered User
    Join Date
    02-22-2021
    Location
    Northern Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    6

    Excel 365 after Save As - calculation not working automatically until a change is detected

    HI all

    I have two excel 365 files, one works and one doesn't - no obvious difference, both set to automatic calculation with iterative calculation ticked

    In both files I have a formula returning the filename and this triggers a different heading on the worksheet depending on the filename

    In the one that works: Click File then Save As and give it a different file name and the save as file appears and immediate recalculation works and the filename immediately updates and the heading is correct

    In the one that doesn't work - click file and Save As and give it a different filename and the save as file appears but immediate re-calculation does not work and the original filename is still there and the heading is not correct.
    If you press F9 or edit and change a cell the proper filename appears and all is well

    My problem is that when I save as I want it to be immediately obvious whch file you are in.

    It works fine with the first one and doesn't word with the second one and I can't see any difference between them - rather frustrating. Any help would be much appreciated.

    Kind regards

    Roy

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel 365 after Save As - calculation not working automatically until a change is dete

    Hi,

    And welcome to the forum.

    You really need to tell us a bit more. We're good but not psychic.

    For instance what's the formula, would be a good start. Better still upload the two workbooks.

    Are both files operating within the same Excel Application?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-22-2021
    Location
    Northern Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    6

    Re: Excel 365 after Save As - calculation not working automatically until a change is dete

    Hi Richard

    Sorry I was hoping for an easy solution.

    When I simplified my working file to send it now does not work either so I'm attaching it here.

    Two files:

    Calculation works

    Calculation works copy - while the original file worked this is a copied sheet from it and now it doesn't work

    The procedure is

    Open Calculation Works and you see my formula to display the filename

    Then save as calculation works copy

    You will see that the filename does not change until you press F9

    On my original file when you created the copy file it immediately changes to display the new filename and the heading changes

    Hope this is sufficient to explain my problem.

    Although my orignal file works and these don't my query really is that when you "save as" why does the copy file not re-calculate immediately.

    Kind regards

    Roy
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-22-2021
    Location
    Northern Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    6

    Re: Excel 365 after Save As - calculation not working automatically until a change is dete

    Hi Richard

    I have been doing a bit of Google-ing and found that the formula I used displays the filename last saved? and not necessarily the file containing the formula. I have now substituted the formula =cell(filename",a1) and it gives me the full path and filename of the file the formula exists in. When saving as the copy file it still displays the original filename until i press F9 or opening the original file as well as the copy file seems also to trigger a calculation and it then displays the proper filename.
    So i'm not really any further on except i have a better formula. The fault seems to lie with when saving as and the copy file appears it does not calculate and immediately display the correct filename. I suppose you could live with that except I have another file which does work although why is a mystery. It was used to create the file I uploaded but then it did not work for some unknown reason. Arrrgh! Roy

+ 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. Automatically Open Excel and Run Macro When New File Automatically Detected
    By jamesdeuce in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-07-2016, 11:35 PM
  2. [SOLVED] Change color of row if part is detected in column A
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2015, 12:31 PM
  3. Excel turns of Automatic Calculation automatically
    By Plaus in forum Excel General
    Replies: 24
    Last Post: 06-06-2013, 10:28 AM
  4. Adjust macro to NOT delete source row when change is detected.
    By mefaraway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2012, 06:48 AM
  5. Excel calculation is not working
    By Niladri in forum Excel General
    Replies: 4
    Last Post: 12-08-2008, 02:08 PM
  6. i am working with excel sheet. in the calculation part i want if
    By srinivas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2006, 03:20 PM
  7. Excel sets calculation to Manual automatically
    By Otto Moehrbach in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2006, 02:10 PM

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