Ricky Morris
Active Member
- Joined
- Mar 31, 2002
- Messages
- 363
What's the syntax to call a macro in another workbook?
Thanks,
Ricardo
Thanks,
Ricardo
If you give the same name to two different procedures in two different projects, you must specify a project name when you call that procedure. For example, the following procedure calls the Main procedure in the MyModule module in the MyProject.vbp project.
Sub Main()
[MyProject.vbp].[MyModule].Main
End Sub
Application.Run "MacroBook!MacroName"