Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Extraneous Calculations?

Greetings:

I've written a UDF utilized in several cells , which if directed to
calculate essentially returns the value from another cell (each UDF is paired
with a different cell). The UDF can also be called by an event, which sets a
Static variable in the UDF then forces the target cell to calculate
(Target.Dirty). What was unexpected is that not just the target cell
calculates, virtually all cells that utilize the UDF re-calculate, regardless
of the fact that nothing has changed in their repective dependent cells.

Does anyone know what about this process is causing Excel to generate these
extraneous calculations?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Extraneous Calculations?

Additional Information:

Apparently not all cells utilizing the UDF are re-calculated, only those on
or below the row of the target cell.

:-)


"mickey" wrote:

Greetings:

I've written a UDF utilized in several cells , which if directed to
calculate essentially returns the value from another cell (each UDF is paired
with a different cell). The UDF can also be called by an event, which sets a
Static variable in the UDF then forces the target cell to calculate
(Target.Dirty). What was unexpected is that not just the target cell
calculates, virtually all cells that utilize the UDF re-calculate, regardless
of the fact that nothing has changed in their repective dependent cells.

Does anyone know what about this process is causing Excel to generate these
extraneous calculations?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Extraneous Calculations?

To All:

I found the problem, and it had nothing to do with the UDF. I was so
focused on my own UDF, I forgot about the rest of the formula in each cell.
I made a mod and the "extraneous" calculations stopped.

Thanks anyway :-)



"mickey" wrote:

Greetings:

I've written a UDF utilized in several cells , which if directed to
calculate essentially returns the value from another cell (each UDF is paired
with a different cell). The UDF can also be called by an event, which sets a
Static variable in the UDF then forces the target cell to calculate
(Target.Dirty). What was unexpected is that not just the target cell
calculates, virtually all cells that utilize the UDF re-calculate, regardless
of the fact that nothing has changed in their repective dependent cells.

Does anyone know what about this process is causing Excel to generate these
extraneous calculations?

Thanks.

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
How do I delete extraneous EXCEL columns? Robert Judge Excel Discussion (Misc queries) 4 February 13th 09 03:37 PM
How do I delete extraneous EXCEL columns? Robert Judge Excel Discussion (Misc queries) 2 February 12th 09 04:07 PM
Extraneous character Lost in Microbiology Excel Discussion (Misc queries) 9 May 8th 07 06:28 PM
How to delete extraneous rows and columns Bruce Gray Excel Discussion (Misc queries) 5 February 26th 05 05:30 PM
Getting rid of "extraneous" data (rows) Tom Ogilvy Excel Programming 0 February 11th 04 08:22 PM


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