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

This doesn't clarify your problem any, apart from showing that you seem to
be confused between UDFs and names as Gord says, but seems more of an answer
to a problem.

What is the question?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Simon" wrote in message
...
In our last episode Bob Phillips wrote:

Can you tell what is meant by loc al and global UDFs, not a term I am
familiar with.


OK, a bit more info (my frustration probably got the better of me with my
original post...)

size wise the 2 files are almost the same, and I'm in the process of doing
some more testing (basically it was taking about 20 minutes (plus!) just

to
open a workbook containing 3 sheets and about 150K rows of data - about 10
columns of source data and 13 calculated), and I had several to work with
that day

You can define your user defined functions as global (ie useable from any
sheet in a workbook) or local (only useable from within the worksheet they
are defined in).

To add a local UDF, add the worksheet name to the UDF name, eg sheet1!Cost
(if your sheet name has spaces you need to enclose the sheet name in
commas, ie 'sheet 1!'cost)

FYI, an excellent tool for managing named ranges/functions is (strangely
enough) Name Manager - an Excel addin that's much easier to use than the
Excel name definition dialog box

get it here http://www.jkp-ads.com/OfficeMarketPlacenm-en.asp

S



 
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 03: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"