Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default User Defined Functions

I saved my user defined modules (functions) as an xla file and added that as
an AddIn to my working workbook. However, I am getting the "#Name?"error in
the cells containing the user defined functions?

When I go through the Insert = Functions process, I see my user defined
functions listed under the user defined functions list.



--
Basharat Javaid.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default User Defined Functions

I'm guessing that excel is still looking for the UDF in the original location.

If that original location was a different workbook, you could use Edit|Links to
point at the new .xla file.

If that original location was the same workbook that contains the formula,
_maybe_ this'll work. (It seemed to work ok for me.)

And you'll have to do it for each UDF that you created.

I created a couple of test workbooks and a UDF named myFunc().

After I moved the code from one workbook's project to the other and saved both
files (one as an addin), I did this in the "regular" workbook (.xls) (with the
..xla still open).

Insert|Name|define
myFunc
(refer to any cell)
Add

Then I deleted that name.
insert|name|define
myfunc
delete

Then I did edit|replace
what: = (equal sign)
with: = (equal sign)
replace all

Excel was smart enough to reevaluate this function from the xla.





"Basharat A. Javaid" wrote:

I saved my user defined modules (functions) as an xla file and added that as
an AddIn to my working workbook. However, I am getting the "#Name?"error in
the cells containing the user defined functions?

When I go through the Insert = Functions process, I see my user defined
functions listed under the user defined functions list.

--
Basharat Javaid.


--

Dave Peterson
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 functions without using VBA. [email protected] Excel Worksheet Functions 0 June 13th 06 05:49 PM
User Defined Functions - Help Text - Make it Easy for the User Andibevan[_2_] Excel Programming 4 March 17th 05 09:51 AM
User Defined Functions Roy Kirkland Excel Programming 3 September 28th 04 06:06 PM
user defined functions Alexander Bogomolny Excel Programming 4 July 25th 04 07:54 PM
excel functions and User defined functions Kanan Excel Programming 4 May 20th 04 11:21 PM


All times are GMT +1. The time now is 10:19 PM.

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"