+ Reply to Thread
Results 1 to 2 of 2

Macro to trigger calculations // File too slow

  1. #1
    Registered User
    Join Date
    03-11-2011
    Location
    Madrid
    MS-Off Ver
    Excel 2003
    Posts
    17

    Unhappy Macro to trigger calculations // File too slow

    Hi All,

    I have a huge file (4.8mb and growing) that we use to track time.

    Each week of the year has a tab plus there are some "master tab" with project codes.

    Finally, there are 2 summary worksheets: the goal of this spreadsheets is to compile time per project per week.

    The following array formula is used:

    =+SUM(IF(INDIRECT("'"&E$6&"'!a11:a100")=$C8,INDIRECT("'"&E$6&"'!N11:N100"),""))

    The issue I'm having is that each time someone inputs time in their weekly time sheet, the file becomes very slow because the so called summary worksheets are refreshing the calculations.

    Is there any marco I can use to stop this summary worksheets from "re-calculating" and make it a manual process?

    Thanks in advance for your help!

    Last edited by Honeypum; 03-13-2011 at 09:49 AM. Reason: I asked a silly question: Just changed excel options to make calculations manual

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Macro to trigger calculations // File too slow

    set your calculation mode into Manual (tools>Option calculation tab)
    then copy to sheet code (which are the sheet you want to calculate automatically,)

    Private Sub Worksheet_Change(ByVal Target As Range)
    ActiveSheet.Calculate
    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