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

Hello,

I created several functions in VBA modules, wich I want to be available on
any new excel document without first importing the module into the file
(e.g. I have created a function wich spells the numbers to literal in
romanian in document A and I want this function to be available on any new
excel document without fist importig the VBA module from document A
containing the function).
Is there a way to do this? I think by creating it as an Excel add-in might
solve the problem by I don't know how to do this!

Any ideea would be much appriciated!
Thank you!

Andrei


  #2   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default resident functions

Save the file w/your functions in them as an add-in (click save as and select
add-in from the file type menu). Save it in the AddIns folder (on my
machine, when I selected add-in file type, it automatically switched to the
add-ins folder which is under C:\Documents And
Settings\Administrator\Application Data\Microsoft\AddIns).

Then install the add-in by clicking Tools/References/AddIns - check the box
next to yours.

Or, you could also keep the functions in your personal macro workbook. When
you use them you will have to precede the function name w/the workbook name
=Personal.xls!MyFunction(.....)

"Andrei STROE" wrote:

Hello,

I created several functions in VBA modules, wich I want to be available on
any new excel document without first importing the module into the file
(e.g. I have created a function wich spells the numbers to literal in
romanian in document A and I want this function to be available on any new
excel document without fist importig the VBA module from document A
containing the function).
Is there a way to do this? I think by creating it as an Excel add-in might
solve the problem by I don't know how to do this!

Any ideea would be much appriciated!
Thank you!

Andrei



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default resident functions

Just do a SaveAs and in the Save As Type box select "Excel Add-In".


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

"Andrei STROE" wrote in message
...
Hello,

I created several functions in VBA modules, wich I want to be available on
any new excel document without first importing the module into the file
(e.g. I have created a function wich spells the numbers to literal in
romanian in document A and I want this function to be available on any new
excel document without fist importig the VBA module from document A
containing the function).
Is there a way to do this? I think by creating it as an Excel add-in might
solve the problem by I don't know how to do this!

Any ideea would be much appriciated!
Thank you!

Andrei



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 convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
Extract portion of formula resident in a cell JASelep Excel Worksheet Functions 2 August 29th 07 04:25 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Conversion from Spreadsheet Toolkit functions (ESSV....) to EssBase API functions sujay Excel Programming 0 June 5th 06 10:13 AM
making macro resident in memory cawemann Excel Programming 1 November 28th 03 11:52 PM


All times are GMT +1. The time now is 08:09 AM.

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"