#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default addins

I wrote few custom functions and saved it to the xla addin. When I copy a
book that uses my custom function addin to another machine, formulas with
that functions are referenced to the path on my machine
(e:\dir1\dir2\myadin.xla!myfunction(arg1;arg2) ). What I did wrong?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default addins

You did nothing wrong. AddIn functions are run from the AddIn, not
copied into the each workbook that calls them.

You will need to install your AddIn on the new machine to use that
workbook there. If you install it in a different location than where
you put it on the first machine, then you will have problems moving
files from one machine to the other.

Jerry

Juggernath wrote:

I wrote few custom functions and saved it to the xla addin. When I copy a
book that uses my custom function addin to another machine, formulas with
that functions are referenced to the path on my machine
(e:\dir1\dir2\myadin.xla!myfunction(arg1;arg2) ). What I did wrong?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default addins

Thanx, so there is no way to use this sheet and addins that I made on
another machine, and I have to uninstall addins, copy them to office/library
folder which all machines have and then correct formulas in woorkbooks
(which have the old path to addins), and at last copy it to the other
machines.
"Jerry W. Lewis" wrote in message
...
You did nothing wrong. AddIn functions are run from the AddIn, not
copied into the each workbook that calls them.

You will need to install your AddIn on the new machine to use that
workbook there. If you install it in a different location than where
you put it on the first machine, then you will have problems moving
files from one machine to the other.

Jerry

Juggernath wrote:

I wrote few custom functions and saved it to the xla addin. When I copy

a
book that uses my custom function addin to another machine, formulas

with
that functions are referenced to the path on my machine
(e:\dir1\dir2\myadin.xla!myfunction(arg1;arg2) ). What I did wrong?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default addins

Every machine that uses the AddIn functions must have the AddIn
installed (and in the same location). If you are on a network, you
could put the AddIn on a network drive, and so maintain only one copy
(much easier for updates). This will work for moving workbooks from one
PC to another provided that all PCs access the drive as the same drive
letter.

You would need to register (Tools|AddIns) the AddIn on each PC that
needs it. The result is an entry written to the Windows Registry, so
you could simplfy the process by exporting the Registry entry as a .reg
file. Users could then register the AddIn by simply double clicking on
the .reg file.

Jerry

Juggernath wrote:

Thanx, so there is no way to use this sheet and addins that I made on
another machine, and I have to uninstall addins, copy them to office/library
folder which all machines have and then correct formulas in woorkbooks
(which have the old path to addins), and at last copy it to the other
machines.
"Jerry W. Lewis" wrote in message
...

You did nothing wrong. AddIn functions are run from the AddIn, not
copied into the each workbook that calls them.

You will need to install your AddIn on the new machine to use that
workbook there. If you install it in a different location than where
you put it on the first machine, then you will have problems moving
files from one machine to the other.

Jerry

Juggernath wrote:


I wrote few custom functions and saved it to the xla addin. When I copy

a

book that uses my custom function addin to another machine, formulas

with

that functions are referenced to the path on my machine
(e:\dir1\dir2\myadin.xla!myfunction(arg1;arg2 ) ). What I did wrong?


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
addins KRK New Users to Excel 1 March 18th 10 07:34 PM
AddIns Sunday88310 Excel Discussion (Misc queries) 1 August 2nd 07 04:04 AM
Addins Tim[_3_] Charts and Charting in Excel 0 April 27th 07 12:33 AM
addins anuragiyer Excel Programming 1 December 3rd 03 09:58 AM


All times are GMT +1. The time now is 01:53 AM.

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"