+ Reply to Thread
Results 1 to 3 of 3

xlCalculationManual does not work?

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    2

    xlCalculationManual does not work?

    Hi, at the beginning sorry for my English

    My workbook include several worksheets. The main one is named "data" and inside of it I have Worksheet_SelectionChange event. Other worksheet do not contain any makros, only vlookup functions (about several thousands of them).

    At the beginning of SelectionChange event I turn on xlCalculationManual. MsgBox Application.Calculation return -4135, so it looks like works correctly...but every time when I change value of any cell in worksheet 'data', excel calculate whole workbook - I think excel do it, because it takes several second to change the value. When I delete all worksheets (besides 'data' of course) everything starts working rapidly.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: xlCalculationManual does not work?

    You turn it back on afterwards

    .Calculation = xlCalculationManual
    .Calculation = xlCalculationAutomatic
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: xlCalculationManual does not work?

    Of course Thanks.
    But, is there any possibility to turn on XlCalculationAutomatic but do not calculate workbook in this moment ?

    EDIT: never mind, forget about this question, it is stupid idea
    Last edited by pin54; 09-26-2014 at 06:27 AM.

+ 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. CutCopyMode with Calculation=xlCalculationManual
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2011, 04:55 PM
  2. Problem with xlCalculationManual and VLOOKUP
    By Newbie_Nick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2010, 04:18 AM
  3. XlcalculationManual
    By pauluk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2007, 01:45 PM
  4. Application.Calculation = xlCalculationManual fails
    By AM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2006, 07:25 PM
  5. Application.Calculation = xlCalculationManual mystery
    By David in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2005, 05: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