+ Reply to Thread
Results 1 to 8 of 8

Stop update formulas when macro starts then update when complete

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2010
    Location
    London, Englans
    MS-Off Ver
    Excel 2007
    Posts
    16

    Stop update formulas when macro starts then update when complete

    Hi

    I would like to Stop update formulas when macro starts then update when complete to speed up a process. Is this possible?

    Thanks Rup

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Stop update formulas when macro starts then update when complete

    Hi Rup,

    You can set the formula calculation to Manual before running macro which will not update formula results and you can again set formula calculation to Automatic mode. thank.s

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    06-28-2010
    Location
    London, Englans
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Stop update formulas when macro starts then update when complete

    Thanks dilipandey,

    Good Answer,

    is there a way to do this in the macro?

    Thanks

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Stop update formulas when macro starts then update when complete

    Yes..

    you can use following code:-

    Sub cal()
        Application.Calculation = xlManual
    
    'you can do your steps here OR you can paste your code here
    
        Application.Calculation = xlAutomatic
        Calculate
    End Sub

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Stop update formulas when macro starts then update when complete

    You would use

    Application.Calculation = xlCalculationManual
    your code
    Application.Calculation = xlCalculationAutomatic

  6. #6
    Registered User
    Join Date
    06-28-2010
    Location
    London, Englans
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Stop update formulas when macro starts then update when complete

    This is great, just saved me waiting time of about ten minutes per scenario,
    Good Work guys,
    Thanks

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Stop update formulas when macro starts then update when complete

    great..

    If you are satisfied with the solution provided here, request you to mark this thread as sovled, seethe forum rules to do so. thanks.

    http://www.excelforum.com/forum-rule...rum-rules.html

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Stop update formulas when macro starts then update when complete

    You should also edit your profile - unless of course there actually IS a London, Englans!

+ 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