Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Transferring custom function

I need to transfer a custom function from one workbook to another. At
first, I thought that simply copying the worksheet where the function is
operative to the other workbook would do the trick, but no luck. My thanks
in advance if someone could point out the method. BR


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Transferring custom function

Go to the VBE, Alt-F11, and locate the code module. Copy the function,
select the other workbook, Insert a code module, and paste it.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Brad Reid" wrote in message
...
I need to transfer a custom function from one workbook to another. At
first, I thought that simply copying the worksheet where the function is
operative to the other workbook would do the trick, but no luck. My thanks
in advance if someone could point out the method. BR




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Transferring custom function

If the custom function is build with VBA, then with the workbook containing
the code open, you can reference it with

=CustomFunctionBook.xls!CustomFunctionName(arg1, arg2)

--
Regards,
Tom Ogilvy

"Brad Reid" wrote in message
...
I need to transfer a custom function from one workbook to another. At
first, I thought that simply copying the worksheet where the function is
operative to the other workbook would do the trick, but no luck. My thanks
in advance if someone could point out the method. BR




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
Transferring multiple fields according to a large function shooganooga About this forum 0 January 11th 11 06:12 AM
Transferring function results to another sheet KaKa Excel Worksheet Functions 3 April 10th 08 10:46 PM
Transferring Custom Toolbar from One Machine to Another [email protected] Excel Discussion (Misc queries) 3 January 3rd 08 09:49 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM


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