xla files

S

Steven

Are not macros in an xla file that have been added-in available to be called
from any other excel file for that particular logged on user? If yes, how do
you call the macro?

Thank you,

Douglas
 
D

Dave Peterson

Do you mean from a formula in a worksheet?

If yes, then you should be able to use the UDFs just like they're built into
excel.

If you mean you want to call a procedure via code, you can use application.run

or you can add a reference to the addin in the workbook's project.

Select your project inside the VBE
Tools|References|check the Addin's project.

You'll want to make sure that that addin has a nice unique project name first.

Then you can call that procedure just like it's in your own workbook's project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top