+ Reply to Thread
Results 1 to 6 of 6

Flipping calculation from Manual to Automatic

Hybrid View

WaynePaul Flipping calculation from... 04-12-2011, 01:40 PM
tigeravatar Re: Flipping calculation from... 04-12-2011, 01:44 PM
nimrod Re: Flipping calculation from... 04-12-2011, 01:45 PM
WaynePaul Re: Flipping calculation from... 04-12-2011, 01:46 PM
nimrod Re: Flipping calculation from... 04-12-2011, 02:17 PM
WaynePaul Re: Flipping calculation from... 04-12-2011, 02:20 PM
  1. #1
    Registered User
    Join Date
    04-12-2011
    Location
    Tulsa
    MS-Off Ver
    Excel 2007
    Posts
    3

    Flipping calculation from Manual to Automatic

    I have an add-in from a third party vendor that I can not change and they will not change for me.
    They in their infinite wisdom decided that their macro would flip the calculation to Manual.
    I am looking for a way to create a macro that will recognize when their macro does this and flip calculation back to Automatic.

    Thanks in advance

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Flipping calculation from Manual to Automatic

    WaynePaul,

    This should work:

        If Application.Calculation = xlCalculationManual Then
            Application.Calculation = xlCalculationAutomatic
        End If


    Hope that helps,
    ~tigeravatar

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Flipping calculation from Manual to Automatic

    Sub TurnOnCalcDemo()
        ' place a call to there program here
        Call SomeMacro
        
        ' not turn calc back on
        Application.Calculation = xlAutomatic
    End Sub

  4. #4
    Registered User
    Join Date
    04-12-2011
    Location
    Tulsa
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Flipping calculation from Manual to Automatic

    Thanks for the reply and pardon my ignorance but when and how does that code get triggered?

  5. #5
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Flipping calculation from Manual to Automatic

    Hello WaynePaul;
    Who's code are you wanting further explaination of ?

  6. #6
    Registered User
    Join Date
    04-12-2011
    Location
    Tulsa
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Flipping calculation from Manual to Automatic

    Hello Nimrod

    Does the code get triggered when the calculation is changed to manual?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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