+ Reply to Thread
Results 1 to 3 of 3

Turn off Automatic Formula Calculation for Just One Sheet

  1. #1
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    Excel 365
    Posts
    129

    Turn off Automatic Formula Calculation for Just One Sheet

    I have a macro that creates a report by loading a csv file into a sheet named "Data". The macro formats this data and puts it into "Sheet 1" and generates a PDF. Depending on if the csv contains the name "summary" in the tile, it will format the data and put it in "Sheet2" and generate a separate pdf. What I would like to do is have the macro be able to just run once and it automatically load first csv file into sheet1, step into the second macro (i.e. it would overwrite the data in Data tab), prepare Sheet2 then print to PDF Sheet 1 and Sheet2 into one merged report. Obviously, when the summary data gets loaded into the Data tab, this changes all the linked references in Sheet1, so I need a way to turn the automatic calculation off prior to running the Sheet2 macro.

    Not sure if any of that made sense, but hopefully someone can help!

  2. #2
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    Excel 365
    Posts
    129

    Re: Turn off Automatic Formula Calculation for Just One Sheet

    Disregard. I found it.

    Worksheets("Sheet1").EnableCalculation = False

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,220

    Re: Turn off Automatic Formula Calculation for Just One Sheet

    Thanks for sharing.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 9
    Last Post: 02-16-2019, 05:44 PM
  2. Replies: 6
    Last Post: 12-06-2015, 10:05 AM
  3. [SOLVED] Macro to turn off automatic calculation
    By Jess0121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2015, 02:56 PM
  4. [SOLVED] Turned Off Calculation; Cannot Turn Calculation It Back On Again
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2014, 05:28 PM
  5. [SOLVED] How can I make an automatic calculation in changing sheet?
    By frankmai in forum Excel General
    Replies: 3
    Last Post: 12-13-2005, 11:15 PM
  6. [SOLVED] turn automatic calculation off forever!
    By schouwla@yahoo.com in forum Excel General
    Replies: 5
    Last Post: 09-02-2005, 01:05 AM
  7. Automatic Calculation:Time sheet
    By raweber in forum Excel General
    Replies: 0
    Last Post: 08-22-2005, 03:31 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