Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to avoid recalulcation (UDF)?

I made and use UDF (User-Defined-Function) which reads and brings data
from database through Internet. The UDF is included in my Add-In(XLA
format). My problem is that an Excel sheet which uses the UDF be
recalculated automatically whenever it is opened. I want to avoid
this recalculation without change Excel option to "Manual
Calculation".

please advise me the way to solve this problem.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to avoid recalulcation (UDF)?

You have precluded a solution by saying no Manual Calculation.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Brian Choi" wrote in message
om...
I made and use UDF (User-Defined-Function) which reads and brings data
from database through Internet. The UDF is included in my Add-In(XLA
format). My problem is that an Excel sheet which uses the UDF be
recalculated automatically whenever it is opened. I want to avoid
this recalculation without change Excel option to "Manual
Calculation".

please advise me the way to solve this problem.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default How to avoid recalulcation (UDF)?

Try something like setting a global switch in your XLA when it is opened and
in your UDF check the switch: the UDF either exits or does the DB retrieve.

--
Charles
______________________
Decision Models
FastExcel 2.1 now available
www.DecisionModels.com

"Brian Choi" wrote in message
om...
I made and use UDF (User-Defined-Function) which reads and brings data
from database through Internet. The UDF is included in my Add-In(XLA
format). My problem is that an Excel sheet which uses the UDF be
recalculated automatically whenever it is opened. I want to avoid
this recalculation without change Excel option to "Manual
Calculation".

please advise me the way to solve this problem.



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
Avoid #div/0! Harsh Bahal Excel Worksheet Functions 8 March 10th 09 05:47 AM
what is this, how do I avoid it? datadude1959 Excel Discussion (Misc queries) 2 September 29th 05 06:05 PM
Why does Help go to network? How to avoid it? [email protected] Excel Discussion (Misc queries) 5 March 11th 05 02:17 PM
Disable recalulcation upon open TY Excel Programming 3 January 20th 04 06:55 AM
avoid div by zero sapta Excel Programming 2 October 7th 03 06:02 AM


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