LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Application.Calculation = xlCalculationManual not working

Hello,

I've got a bit of an Excel programming problem. I really need to avoid
having the worksheet recalculate until the macro I'm running is done. To do
so, I've been using the command:
Application.Calculation = xlCalculationManual
It has been working fine, too, until I added more calculated data (using a
UDF) to the worksheet. Now the function just does not work. Adding a watch to
Application.Calculation shows that the value does not change after it is
explicitly set to xlCalculationManual. And adding "Debug.Assert
Application.Calculation = xlCalculationManual" after setting the Calculation
mode always causes that line to trigger the debugger.

Does anyone have any idea what can be causing this?
Does Excel have any conditions that must be satisfied before the calculation
mode can be toggled?

Thanks,
David
 
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
VBA Application.xlCalculationManual Tony McGee Excel Programming 2 October 11th 06 05:10 AM
Application.Calculation = xlCalculationManual fails AM Excel Programming 1 June 9th 06 12:23 AM
Application.Calculation = xlCalculationManual mystery David Excel Programming 2 July 13th 05 09:56 AM
How to set in XLA calculation on xlCalculationManual Billy[_5_] Excel Programming 6 September 20th 04 07:57 AM
Application.Calculation=xlCalculationManual causing run time error? Dave Peterson[_3_] Excel Programming 3 October 18th 03 12:51 AM


All times are GMT +1. The time now is 11:10 PM.

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

About Us

"It's about Microsoft Excel"