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: 126
Default range.calculation with UDF not working when calculation is set to automatic

Hello everyone,

I have run into an odd behavior of UDF's that I don't understand. This applies to excel 97, 2000 and 2002.

I have some cell formulas that call a UDF.

I have an addin that runs a macro that fetches values from these cells. This addin macro does some iterating and the values returned from these cell formulas are different each iteration. Right before the addin macro fetches these values it performs a Range.Calculate to make sure the cell formulas are up to date.

This all works fine when Application.Calculation is set manual, but oddly enough it does not work when set to automatic.

When set to automatic, it looks like the UDF is not getting called either automatically or by my Range.Calculate statement.

Is this a known behavior of UDF functions?

Thanks,

Brian Murphy
Austin, Texas

 
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
Automatic calculation BeckyW Excel Worksheet Functions 1 October 8th 07 09:59 AM
automatic and manual calculation not working BobS9895 Excel Worksheet Functions 1 April 26th 07 05:32 PM
Automatic re-calculation Thomo Excel Discussion (Misc queries) 2 November 5th 06 11:52 PM
Automatic calculation is not working susang Excel Discussion (Misc queries) 4 November 4th 05 03:51 PM
automatic calculation excel Setting up and Configuration of Excel 1 September 29th 05 04:31 PM


All times are GMT +1. The time now is 09:49 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"