Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 336
Default Globally available defined names?

Hi all,

I was wondering whether there's any way for an add-in to define names (or
something similar) that would be available from other workbooks. For example,
I'd like to define "TAXRATE" as 0.08, and have it so that from any open
workbook, I can type =TAXRATE and get that number back.

I know something like this could be accomplished with a function -- i.e., I
could define a function called TAXRATE() in the add-in that just returns 0.08
-- but I'mspecifically looking for a way to avoid the parentheses when using
it (i.e. I'd like =TAXRATE not =TAXRATE()).

Any information would very helpful. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Globally available defined names?

Yes, you can do that *but* you'd have to include the name of the add-in:

Add-in named Defs (short for definitions)

=Defs.xla!TaxRate

--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
Hi all,

I was wondering whether there's any way for an add-in to define names (or
something similar) that would be available from other workbooks. For
example,
I'd like to define "TAXRATE" as 0.08, and have it so that from any open
workbook, I can type =TAXRATE and get that number back.

I know something like this could be accomplished with a function -- i.e.,
I
could define a function called TAXRATE() in the add-in that just returns
0.08
-- but I'mspecifically looking for a way to avoid the parentheses when
using
it (i.e. I'd like =TAXRATE not =TAXRATE()).

Any information would very helpful. 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
Why use defined names? Eric Excel Discussion (Misc queries) 2 December 31st 07 06:07 AM
defined names xcel user[_2_] Excel Worksheet Functions 1 December 14th 07 05:43 PM
Defined names lesley1000 via OfficeKB.com Excel Worksheet Functions 3 December 10th 07 02:50 PM
NAMES DEFINED F. Lawrence Kulchar Excel Discussion (Misc queries) 5 November 14th 06 07:54 AM
Defined names DREED Excel Discussion (Misc queries) 3 March 10th 06 02:55 PM


All times are GMT +1. The time now is 03:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"