+ Reply to Thread
Results 1 to 4 of 4

Disable Automatic Calculation

Hybrid View

  1. #1
    Registered User
    Join Date
    08-27-2007
    Location
    Australia
    Posts
    60

    Disable Automatic Calculation

    Hi All,

    I have some worksheets with a lot of functions, these functions only need to be updated once.
    These functions come from VBA modules.

    Even if I place;

    Sub CalculationFalse()
    ThisWorkbook.Sheets("Sheet Name").EnableCalculation = False
    End Sub


    In each particular sheet, it still takes a long time to calculate.

    However if I copy and paste values in each sheet the file calculates quickly.

    I am assuming from the "copy and paste values" test that calculations are still running on these sheets (or in the VBA modules??) despite the VBA code I have put in each sheet.

    Can anyone help?

    Thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Disable Automatic Calculation

    If you have used copy/paste values then the formulae are replaced by the actual values - there is no formula anymore, so there is nothing to calculate.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-27-2007
    Location
    Australia
    Posts
    60

    Re: Disable Automatic Calculation

    Hi Pete,

    Sure but there are still formulas on other worksheets that are calculating.

    So the VBA I tried to use above hasn't stopped the calculations on these sheets.

    If it did, I presume it should calculate as quick as the version where I copied and pasted the values of these certain worksheets?

    So the problem is - how do I force excel to completely ignore all calculations and macros on a particular worksheet. I note there are a ton of forum topics on this, but bugger me if I can get any to work.

    Thanks

  4. #4
    Registered User
    Join Date
    08-27-2007
    Location
    Australia
    Posts
    60

    Re: Disable Automatic Calculation

    Anyone have any ideas how to solve this problem?
    On selected sheets, I don't want excel to do or even think about doing a calculation.

+ 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] VBA to disable automatic formula UPDATING not Calculation
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-21-2014, 07:15 AM
  2. How to disable automatic refresh
    By jiminy in forum Excel General
    Replies: 5
    Last Post: 07-01-2010, 04:29 AM
  3. Automatic update disable ODBC
    By Menza in forum Excel General
    Replies: 0
    Last Post: 07-12-2006, 08:55 AM
  4. [SOLVED] Disable automatic GETPIVOT
    By news.microsoft.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2006, 04:34 PM
  5. Disable automatic saving of VB Project
    By martin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2005, 08:05 AM

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