Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Functions included in add-in

Hello all

I have written an Excel add-in that amongst other things, includes some
custom functions that appear in the "User Defined" category of the Excel
function list. These functions are contained in a separate module within my
add-in.

Is there an easy way (or any way) of making these functions freely & easily
distributable by anyone who uses them WITHOUT requiring that other users get
my add-in. ie, if someone has my add-in, uses some of these custom functions
in a workbook, then wants to send that workbook to somebody else who does
not have my add-in.

They are of course public functions that enhance Excel. They are not for
"internal use" within my add-in.

Hope this makes sense

--

Thanks

Tony McGee
St Agnes Catholic Parish
Port Macquarie NSW 2444
Phone (02) 6588 7444


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Functions included in add-in

No. Anyone using the spreadsheet with the UDF's in is is going to need to
have the addin. You run into the same issue with functions from the Analysis
Toolpack. If the user has not installed the toolpack then they can run into
problems...
--
HTH...

Jim Thomlinson


"Tony McGee" wrote:

Hello all

I have written an Excel add-in that amongst other things, includes some
custom functions that appear in the "User Defined" category of the Excel
function list. These functions are contained in a separate module within my
add-in.

Is there an easy way (or any way) of making these functions freely & easily
distributable by anyone who uses them WITHOUT requiring that other users get
my add-in. ie, if someone has my add-in, uses some of these custom functions
in a workbook, then wants to send that workbook to somebody else who does
not have my add-in.

They are of course public functions that enhance Excel. They are not for
"internal use" within my add-in.

Hope this makes sense

--

Thanks

Tony McGee
St Agnes Catholic Parish
Port Macquarie NSW 2444
Phone (02) 6588 7444



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Functions included in add-in

You can't "disassociate" the functions from the add-in in which they are
defined. If a workbook utilizes functions in an add-in, all users of that
workbook must have the add-in; without it, they'll get #NAME errors.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Tony McGee" wrote in message
...
Hello all

I have written an Excel add-in that amongst other things, includes some
custom functions that appear in the "User Defined" category of the Excel
function list. These functions are contained in a separate module within
my add-in.

Is there an easy way (or any way) of making these functions freely &
easily distributable by anyone who uses them WITHOUT requiring that other
users get my add-in. ie, if someone has my add-in, uses some of these
custom functions in a workbook, then wants to send that workbook to
somebody else who does not have my add-in.

They are of course public functions that enhance Excel. They are not for
"internal use" within my add-in.

Hope this makes sense

--

Thanks

Tony McGee
St Agnes Catholic Parish
Port Macquarie NSW 2444
Phone (02) 6588 7444


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 200
Default Functions included in add-in

Chip Pearson wrote:
You can't "disassociate" the functions from the add-in in which they are
defined. If a workbook utilizes functions in an add-in, all users of
that workbook must have the add-in; without it, they'll get #NAME errors.


What am I missing? Can't individual functions be copied and pasted from
an Add-In file module into a workbook general module and be fully usable
in that workbook sent to another user SO LONG AS THE FUNCTION IS
INDEPENDENT OF ANY OTHER FUNCTIONS IN THE ADD-IN?

Alan Beban
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Functions included in add-in

Of course you can as long as you have the add-in, it is unprotected or you
know the password.

knut
"Alan Beban" <unavailable skrev i melding
...
Chip Pearson wrote:
You can't "disassociate" the functions from the add-in in which they are
defined. If a workbook utilizes functions in an add-in, all users of that
workbook must have the add-in; without it, they'll get #NAME errors.


What am I missing? Can't individual functions be copied and pasted from
an Add-In file module into a workbook general module and be fully usable
in that workbook sent to another user SO LONG AS THE FUNCTION IS
INDEPENDENT OF ANY OTHER FUNCTIONS IN THE ADD-IN?

Alan Beban





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default Functions included in add-in

Could you add a method to your addin that exports sharable addin
macros into a VBA module and inserts that module into the current
workbook?

You may have to modify your add-in macros so they can be run as both
add-in macros and workbook macros, that is, by having Workbook and
Worksheet parameters to all the Subs and Functions, but it's not a big
deal.

Check out the Subs and Functions for the VBProject object to get
started.


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
Cells not included in formulas Knucklehead Excel Discussion (Misc queries) 3 July 22nd 08 06:25 PM
Check Box included in a formula Corey Excel Worksheet Functions 2 June 22nd 06 12:08 AM
Total rows w/$, NA, Included HR Excel Discussion (Misc queries) 2 May 11th 06 11:25 PM
Header included in sort Headersortproblem Excel Worksheet Functions 1 November 24th 04 04:48 PM
Copy with NumberFormatLocal included Patrick Molloy[_3_] Excel Programming 0 July 17th 03 07:46 AM


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