LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default User Defined Functions - local or global?

I have a set of templates that we use to check/calculate costs from
invoices using a set of user defined functions (nested if's beyond the
normal limit).

I had these set up as local (each sheet uses a different set of functions,
so it made it easier for me to navigate/maintain), but I was having trouble
whenever I needed to copy or move a sheet (ie we routinely check over 100K
records at a time so multiple worksheets are a necessity). If I needed to
do this, excel was throwing up error messages in relation to my UDF's local
to that sheet.

In an effort to get around this I have converted them to global, but this
seems to incur a significant performance penalty, ie the size has blown out
considerably, and the load times are woefully slow (i assume due to
recalculation)

Can anyone advise me whether or not this is a viable strategy to resolve my
initial problem (or point me at a helpful resource), or if I should stick
with my original solution)

TIA

S

--
2 + 2 will never equal 5 (not even for very large values of 2...)
 
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 doe I protect user defined functions in VB Editor jbowering Excel Worksheet Functions 2 June 27th 06 11:16 PM
Assigining User Defined Functions to Categories in Addins Jim Excel Worksheet Functions 0 June 27th 06 12:09 PM
problem with user defined function panjo Excel Discussion (Misc queries) 3 June 16th 06 11:18 AM
Attaching a particular user defined function to cust button Ajay Excel Discussion (Misc queries) 3 February 23rd 05 08:29 AM
User defined charts- font size too small Bill B Charts and Charting in Excel 1 December 30th 04 06:23 PM


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