Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Recalculation Failure

Option Explicit

Function recal()
Debug.Print "recalculating"
recal = "done"
End Function

Sub dosth()
Range("a1").Calculate
End Sub

I input in the a1 cell with "=recal()" and run sub dosht() for
serveral times. In immediate window, I didn't see "recalculating"
printed.

Why? Range("a1").Calculate won't force the reevaluation of a1 cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Recalculation Failure

See http://www.decisionmodels.com/calcsecretsg.htm etc for explanation

Charles
___________________________________
London Excel Users Conference April 1-2
The Excel Calculation Site
http://www.decisionmodels.com

"Xiaozhong" wrote in message
...
Option Explicit

Function recal()
Debug.Print "recalculating"
recal = "done"
End Function

Sub dosth()
Range("a1").Calculate
End Sub

I input in the a1 cell with "=recal()" and run sub dosht() for
serveral times. In immediate window, I didn't see "recalculating"
printed.

Why? Range("a1").Calculate won't force the reevaluation of a1 cell?



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
vlookup failure & ctrl-f failure? joemeshuggah Excel Discussion (Misc queries) 4 December 22nd 08 07:22 PM
Recalculation A Bauer Excel Discussion (Misc queries) 1 March 7th 07 10:01 PM
recalculation shmilo Excel Discussion (Misc queries) 1 February 13th 07 02:40 PM
Recalculation [email protected] Excel Programming 0 September 20th 05 12:58 PM
Recalculation Anna[_6_] Excel Programming 1 May 24th 04 11:15 PM


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

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"