ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   making a function usable in every sheet (https://www.excelbanter.com/excel-programming/397280-making-function-usable-every-sheet.html)

Perplexed

making a function usable in every sheet
 
I have a function that I'd like to be able in every file that I open or in
every file that I create going forward. I think it has to do something with
embedding it as my personal.xls template. Any ideas? Thanks in advance.

kobby

making a function usable in every sheet
 
You can save the file which contains your function as an .xla file and then
add it to excel as an add-in

"Perplexed" wrote:

I have a function that I'd like to be able in every file that I open or in
every file that I create going forward. I think it has to do something with
embedding it as my personal.xls template. Any ideas? Thanks in advance.


Perplexed

making a function usable in every sheet
 
nice. thanks.

"kobby" wrote:

You can save the file which contains your function as an .xla file and then
add it to excel as an add-in

"Perplexed" wrote:

I have a function that I'd like to be able in every file that I open or in
every file that I create going forward. I think it has to do something with
embedding it as my personal.xls template. Any ideas? Thanks in advance.


Nick Revak

making a function usable in every sheet
 
Perplexed wrote:
I have a function that I'd like to be able in every file that I open or in
every file that I create going forward. I think it has to do something with
embedding it as my personal.xls template. Any ideas? Thanks in advance.

You can also record a macro and save it in your personal.xls workbook
and that will make the macro available in any other workbook that you open.

K Bare

making a function usable in every sheet / workbook
 
I'm not entire certain, but apparently, subs in the personal.xls workbook can
only be run in other workbooks. If a custom function is to be available it
needs to be stored as an xla. And just saving it as an xla doesn't make it
available. Once the add in is saved you need to activate it by opening the
add in dialog from TOOLSADDINS and checking the box beside the add you just
saved.

So, I think the steps a
1) create spreadsheet with the custom function
2) save it as an .xla (Excel Add In),
for example: MyNewFunctions.xla
3) navigate to TOOLSAddIns and click the box beside
MyNewFunctions

"Perplexed" wrote:

nice. thanks.

"kobby" wrote:

You can save the file which contains your function as an .xla file and then
add it to excel as an add-in

"Perplexed" wrote:

I have a function that I'd like to be able in every file that I open or in
every file that I create going forward. I think it has to do something with
embedding it as my personal.xls template. Any ideas? Thanks in advance.



All times are GMT +1. The time now is 07:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com