LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default User define function

You can place it in your Personal Macro Workbook, more commonly known as
Personal.xls

When stored in the XLSTART folder, Personal.xls will open whenever you start
Excel.

You can save it "hidden" so it stays in the background with your macros and
functions available for all open workbooks.

When using Personal.xls and assigning macros to buttons you have to precede the
macroname with the filename.

i.e. Personal.xls!mymacro

Same thing for User Defined Functions

=Persoanl.xls!funcname(args)

If you store all macros and UDF's in an Add-in(*.xla) you don't need the
filename.

=funcname(args) is sufficient.


Gord Dibben MS Excel MVP

On Sat, 10 Feb 2007 15:11:00 -0800, Lee wrote:

how to make my vba function available in new worksheet




 
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
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
User Defined Function Samad Excel Discussion (Misc queries) 14 November 16th 05 12:32 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
how to move user defined function Grant Excel Worksheet Functions 1 November 17th 04 06:38 PM


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