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

Hello.

User defined functions can be made available through Add-Ins... write your
code for the function, save it as an .xla file, use Tools-Add-ins to load the
addin, and the function you wrote is available to be used as any other
function.

Is it possible to similiarly use code modules through Add-Ins?

Write a utilitiy module, load the add-in, use the utility from another
file's code modules by calling the subroutine the as you would the code
modules were in the same workbook?

Thanks,
Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default portable code...

Are you asking for the syntax for executing a proceedure from a separate
project?

If you do this it will only work on the one machine or require moving
project and addin to any machine you use it on. typically you might try the
personal.xla instead of addin for shared or portable code.


"mark" wrote:

Hello.

User defined functions can be made available through Add-Ins... write your
code for the function, save it as an .xla file, use Tools-Add-ins to load the
addin, and the function you wrote is available to be used as any other
function.

Is it possible to similiarly use code modules through Add-Ins?

Write a utilitiy module, load the add-in, use the utility from another
file's code modules by calling the subroutine the as you would the code
modules were in the same workbook?

Thanks,
Mark

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default portable code...

Unless you create a reference to the addin from the project where you want
to use the code, you would need to use

Application.Run "MyAddin.xls!MyMacro",arg1,arg2

--
Regards,
Tom Ogilvy

"mark" wrote in message
...
Hello.

User defined functions can be made available through Add-Ins... write your
code for the function, save it as an .xla file, use Tools-Add-ins to load

the
addin, and the function you wrote is available to be used as any other
function.

Is it possible to similiarly use code modules through Add-Ins?

Write a utilitiy module, load the add-in, use the utility from another
file's code modules by calling the subroutine the as you would the code
modules were in the same workbook?

Thanks,
Mark



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
CAn you make Toolbars Portable? CSAH Setting up and Configuration of Excel 3 April 28th 06 01:01 PM
make addin portable Jerry W. Lewis Excel Programming 2 September 24th 04 02:40 AM
make addin portable Frank Kabel Excel Programming 2 September 20th 04 07:41 PM
make addin portable Kanan Excel Programming 0 September 20th 04 05:49 PM
'portable' UDFs??? whelanj[_7_] Excel Programming 1 July 9th 04 01:13 PM


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