Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Collection custom functions as asn addin

I have devised a some custom functions as required for my daily office work!
I think I should form a single addin file for the same.

Does an such addin needs to have such functions' codes be typed:
1. In the worksheet code; or
2. Behind the workbook code; or
3. Be inserted in a single module; or
4. Separate modules for each of the function should be devised and maintained?

Thanx in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Collection custom functions as asn addin

Depending on how many there are, a single standard module should hold all of the
functions quite nicely.

A module can contain up to 64,000 lines of code, I believe.


Gord Dibben MS Excel MVP

On Sat, 29 Dec 2007 11:49:02 -0800, FARAZ QURESHI
wrote:

I have devised a some custom functions as required for my daily office work!
I think I should form a single addin file for the same.

Does an such addin needs to have such functions' codes be typed:
1. In the worksheet code; or
2. Behind the workbook code; or
3. Be inserted in a single module; or
4. Separate modules for each of the function should be devised and maintained?

Thanx in advance!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Collection custom functions as asn addin

I agree with Gord that the custom functions belong in General module(s).

But I think how many modules are up to you.

If the code for one function is extensive (lots of other functions/subs that get
called), you may want it in a separate module.

On the other hand, you may want to organize your routines by function. String
functions in one module. Numeric functions in another.

Heck, I've used dedicated modules for code that I've found on the
newsgroups--I'll put the link to the post (from groups.google.com) in a comment
at the top. Then I can find the original source if I need to.



FARAZ QURESHI wrote:

I have devised a some custom functions as required for my daily office work!
I think I should form a single addin file for the same.

Does an such addin needs to have such functions' codes be typed:
1. In the worksheet code; or
2. Behind the workbook code; or
3. Be inserted in a single module; or
4. Separate modules for each of the function should be devised and maintained?

Thanx in advance!


--

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
An AddIn for a custom function FARAZ QURESHI Excel Discussion (Misc queries) 3 October 16th 07 02:35 PM
How I know if a file is using a custom addin Rodrigo Ferreira Excel Discussion (Misc queries) 3 September 15th 06 02:44 PM
How I know if a file is using a custom addin Rodrigo Ferreira Excel Worksheet Functions 1 September 15th 06 02:08 AM
Custom Functions saved as addin dbutcher Excel Worksheet Functions 2 April 7th 06 05:24 PM
Using custom functions within custom validation Neil Excel Discussion (Misc queries) 4 December 14th 05 10:40 PM


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