View Single Post
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Hi June,

You can either run it qualified with the addin name

Application.Run "myAddin.xla!myMacro", myWB

or you can set a reference in the vBE (ToolsReferences) and call it like
any other procedure.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"June Macleod" wrote in message
...
I have an addin with the Title "Test" saved as "Test 1.xla"

In the addin I have a sub procedure named "checklegal" which takes the
argument "workbookname"

From another workbook which has the "Test" Add In loaded how can I call

the
"checklegal" procedure?

Many thanks

June