Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems with User-defined Function

It seems that everytime I save a workbook or change something in a
spreadsheet with user-defined functions, it starts re-calculating the
cells with user-defined functions. I can see this by looking at the
messages in the status bar. How can I prevent excel (2000) from doing
this? Also, the calculations are extremely slow? I don't know why
since the user-defined functions I defined are extremely simple and
short.

Victor
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Problems with User-defined Function

I'm not sure, but I recall reading somewhere that UDFs generally work slower
then the built in functions. I'm assuming that it has something to do with
the UDF needing to be compiled before it runs.

In addition, if you have the workbook set to autocalc after each change,
each UDF will also recalc. As stated above, UDFs run slower so this may
take some additional time, especially if you have a lot of UDFs. One option
would be to turn off the autocalc feature and only calc the sheet when you
need to.

HTH

--
Michael J. Malinsky
Pittsburgh, PA

"I am a bear of very little brain, and long
words bother me." -- AA Milne, Winne the Pooh

"Victor" wrote in message
om...
It seems that everytime I save a workbook or change something in a
spreadsheet with user-defined functions, it starts re-calculating the
cells with user-defined functions. I can see this by looking at the
messages in the status bar. How can I prevent excel (2000) from doing
this? Also, the calculations are extremely slow? I don't know why
since the user-defined functions I defined are extremely simple and
short.

Victor



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems with User-defined Function

"Michael Malinsky" wrote in message ...
I'm not sure, but I recall reading somewhere that UDFs generally work slower
then the built in functions. I'm assuming that it has something to do with
the UDF needing to be compiled before it runs.

In addition, if you have the workbook set to autocalc after each change,
each UDF will also recalc. As stated above, UDFs run slower so this may
take some additional time, especially if you have a lot of UDFs. One option
would be to turn off the autocalc feature and only calc the sheet when you
need to.

HTH

--
Michael J. Malinsky
Pittsburgh, PA

"I am a bear of very little brain, and long
words bother me." -- AA Milne, Winne the Pooh

"Victor" wrote in message
om...
It seems that everytime I save a workbook or change something in a
spreadsheet with user-defined functions, it starts re-calculating the
cells with user-defined functions. I can see this by looking at the
messages in the status bar. How can I prevent excel (2000) from doing
this? Also, the calculations are extremely slow? I don't know why
since the user-defined functions I defined are extremely simple and
short.

Victor


Thanks! I think you've answer my question. I'll take on your suggestion.

Victor
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
User Defined Function Help Michael Dobony Excel Worksheet Functions 4 May 26th 11 12:07 AM
user defined function tom_mcd Excel Worksheet Functions 1 January 6th 09 06:23 PM
User Defined Function Causing Problems Steve Excel Discussion (Misc queries) 11 December 21st 06 12:18 PM
User Defined Function Samad Excel Discussion (Misc queries) 14 November 16th 05 12:32 PM
User-Defined Function pre-empting Built-in Function? How to undo???? MarWun Excel Programming 1 August 6th 03 09:31 PM


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