Procedure calling syntax

E

Eric

Hello,

I have an add-in that creates a menu from which I call procedures stored in
the same add-in using the syntax: .OnAction = ThisWorkbook.Name &
"!procedurename".
What would be the syntax if I where to call a procedure stored in another
loaded add-in, let's say in module3?

Thank you.

Eric
 
B

Bob Phillips

Call a procedure in that same addin that does an Application.Run into the
other addin procedure (check VBA help).

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
J

Jacques ALARDET

Hello

First, OnAction:="procédurename" is suffisant
Second, You call another procédure in another Workbook, with two solution
1. Application.run "workbook!procédudurename"
2. Call [Projectname].[modulename].procédurename

J a c q u e s
 
E

Eric

Thank you Bob

Bob Phillips said:
Call a procedure in that same addin that does an Application.Run into the
other addin procedure (check VBA help).

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
E

Eric

Merci Jacques pour les precisions...

Jacques ALARDET said:
Hello

First, OnAction:="procédurename" is suffisant
Second, You call another procédure in another Workbook, with two solution
1. Application.run "workbook!procédudurename"
2. Call [Projectname].[modulename].procédurename

J a c q u e s

Eric said:
Hello,

I have an add-in that creates a menu from which I call procedures stored
in the same add-in using the syntax: .OnAction = ThisWorkbook.Name &
"!procedurename".
What would be the syntax if I where to call a procedure stored in another
loaded add-in, let's say in module3?

Thank you.

Eric
 

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