Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default check if excel sheet in manual calc mode

Is it possible to check all the time if a sheet has by mistake been switched
to manual calc?

I have tried the below but obviously not working as when we are in Manual
calc no calc is done to triger the volatility of the function.

Function MyCalcStatus()
Application.Volatile
If Application.Calculation = -4105 Then MyCalcStatus = "Auto"
If Application.Calculation = -4135 Then MyCalcStatus = "Manual"
End Function


Many thanks,
Dan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 256
Default check if excel sheet in manual calc mode

Could use either change or selection_change worksheet events. Also,
you can use these two constants, for better readability:

Application.Calculation = Excel.xlCalculationAutomatic
Application.Calculation = Excel.xlCalculationManual


On Jan 22, 8:44*pm, Dan wrote:
Is it possible to check all the time if a sheet has by mistake been switched
to manual calc?

I have tried the below but obviously not working as when we are in Manual
calc no calc is done to triger the volatility of the function.

Function MyCalcStatus()
*Application.Volatile
*If Application.Calculation = -4105 Then MyCalcStatus = "Auto"
*If Application.Calculation = -4135 Then MyCalcStatus = "Manual"
End Function

Many thanks,
Dan


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual Calculation in Excel 2007 with Calculate mode set to Automatic Julie White Excel Worksheet Functions 1 November 24th 09 09:38 PM
MODE calc where more than one mode number! Struggling in Sheffield[_2_] New Users to Excel 2 October 15th 09 04:52 PM
Calc = Manual & Do Not Calc b/4 SAVE Ken Excel Discussion (Misc queries) 0 October 3rd 07 02:28 PM
Open CSV causes calculation in manual calc mode [email protected] Excel Discussion (Misc queries) 0 July 25th 06 09:22 PM
Automatic Manual Calc When Opening!! twogoodtwo[_4_] Excel Programming 3 November 10th 05 06:12 PM


All times are GMT +1. The time now is 10:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"