Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Make function available to all workbooks?

Hi,

I have a workbook which (via code) copies one of the worksheets into a new
workbook. The copied worksheet contains cell formulas using a function in
the original workbook. When copied, the new worksheet returns a #NAME?#
error in the cells using the function.

Can I make the function available to all open workbooks? Or can I employ
code to copy the module containing the function into the new workbook?

Thanks in advance,

Damien


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Make function available to all workbooks?

You can place the function code into a workbook which you save as an Add-in

Or place the code into your Personal.xls

I prefer the add-in just because I don't have to type the name as in

=Personal.xls!function(cellref,args)

With the add-in just enter as =function(cellref,args)


Gord Dibben MS Excel MVP

On Thu, 17 Jul 2008 09:38:54 +1000, "Damien McBain" wrote:

Hi,

I have a workbook which (via code) copies one of the worksheets into a new
workbook. The copied worksheet contains cell formulas using a function in
the original workbook. When copied, the new worksheet returns a #NAME?#
error in the cells using the function.

Can I make the function available to all open workbooks? Or can I employ
code to copy the module containing the function into the new workbook?

Thanks in advance,

Damien


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
How to make a function accessible for all workbooks Mark the Shark Excel Programming 2 May 11th 05 02:21 PM
make severaly workbooks 1 Steve[_71_] Excel Programming 1 December 6th 04 05:40 PM
make severaly workbooks 1 Steve[_71_] Excel Programming 1 December 6th 04 05:40 PM
How to make a macro available to all the workbooks? kd Excel Programming 1 November 28th 04 09:16 AM
Make Macro available to all new workbooks Kirk P. Excel Programming 3 June 11th 04 06:53 PM


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